OAuth2PermissionGrantOperationsExtensions.ListAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.