UsersOperationsExtensions.GetAsync(IUsersOperations, String, CancellationToken) Method

Definition

Gets user information from the directory.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Graph.RBAC.Fluent.Models.UserInner> GetAsync (this Microsoft.Azure.Management.Graph.RBAC.Fluent.IUsersOperations operations, string upnOrObjectId, System.Threading.CancellationToken cancellationToken = null);
static member GetAsync : Microsoft.Azure.Management.Graph.RBAC.Fluent.IUsersOperations * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Graph.RBAC.Fluent.Models.UserInner>

Parameters

operations
IUsersOperations

The operations group for this extension method.

upnOrObjectId
System.String

The object ID or principal name of the user for which to get information.

cancellationToken
System.Threading.CancellationToken

The cancellation token.

Returns

System.Threading.Tasks.Task<UserInner>

Applies to