Edit

Share via


GraphExtensions.GetMeAsync(GraphServiceClient) Method

Definition

Retrieve the curernt user.

public static System.Threading.Tasks.Task<Microsoft.Graph.User> GetMeAsync(this Microsoft.Graph.GraphServiceClient graph);
static member GetMeAsync : Microsoft.Graph.GraphServiceClient -> System.Threading.Tasks.Task<Microsoft.Graph.User>
<Extension()>
Public Function GetMeAsync (graph As GraphServiceClient) As Task(Of User)

Parameters

graph
Microsoft.Graph.GraphServiceClient

Instance of the Microsoft.Graph.GraphServiceClient.

Returns

Task<Microsoft.Graph.User>

A Task representing the asynchronous operation.

Applies to