Udostępnij za pośrednictwem


SignedInUserOperationsExtensions.GetAsync Method

Definition

Gets the details for the currently logged-in user.

public static System.Threading.Tasks.Task<Microsoft.Azure.Graph.RBAC.Models.User> GetAsync (this Microsoft.Azure.Graph.RBAC.ISignedInUserOperations operations, System.Threading.CancellationToken cancellationToken = default);
static member GetAsync : Microsoft.Azure.Graph.RBAC.ISignedInUserOperations * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Graph.RBAC.Models.User>
<Extension()>
Public Function GetAsync (operations As ISignedInUserOperations, Optional cancellationToken As CancellationToken = Nothing) As Task(Of User)

Parameters

operations
ISignedInUserOperations

The operations group for this extension method.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to