共用方式為


SignedInUserOperationsExtensions.GetAsync Method

Definition

Gets the details for the currently logged-in user.

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

Parameters

operations
ISignedInUserOperations

The operations group for this extension method.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to