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.Graph.RBAC.Models.OAuth2PermissionGrant>> ListAsync (this Microsoft.Azure.Graph.RBAC.IOAuth2PermissionGrantOperations operations, string filter = default, System.Threading.CancellationToken cancellationToken = default);
static member ListAsync : Microsoft.Azure.Graph.RBAC.IOAuth2PermissionGrantOperations * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Graph.RBAC.Models.OAuth2PermissionGrant>>
<Extension()>
Public Function ListAsync (operations As IOAuth2PermissionGrantOperations, Optional filter As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of OAuth2PermissionGrant))
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET