共用方式為


OAuth2PermissionGrantOperationsExtensions.ListAsync Method

Definition

Queries OAuth2 permissions grants for the relevant SP ObjectId of an app.

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Graph.RBAC.Fluent.Models.OAuth2PermissionGrantInner>> ListAsync (this Microsoft.Azure.Management.Graph.RBAC.Fluent.IOAuth2PermissionGrantOperations operations, string filter = default, System.Threading.CancellationToken cancellationToken = default);
static member ListAsync : Microsoft.Azure.Management.Graph.RBAC.Fluent.IOAuth2PermissionGrantOperations * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Graph.RBAC.Fluent.Models.OAuth2PermissionGrantInner>>
<Extension()>
Public Function ListAsync (operations As IOAuth2PermissionGrantOperations, Optional filter As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of OAuth2PermissionGrantInner))

Parameters

operations
IOAuth2PermissionGrantOperations

The operations group for this extension method.

filter
String

This is the Service Principal ObjectId associated with the app

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to