Share via


UsersOperationsExtensions.ListAsync Method

Definition

Gets list of users for the current tenant.

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

Parameters

operations
IUsersOperations

The operations group for this extension method.

odataQuery
ODataQuery<UserInner>

OData parameters to apply to the operation.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to