Partager via


UsersOperationsExtensions.GetUserAsync Method

Definition

public static System.Threading.Tasks.Task<Microsoft.Azure.Commands.Common.MSGraph.Version1_0.Users.Models.MicrosoftGraphUser> GetUserAsync (this Microsoft.Azure.Commands.Common.MSGraph.Version1_0.Users.IUsersOperations operations, string userId, string consistencyLevel = default, System.Collections.Generic.IList<string> select = default, System.Collections.Generic.IList<string> expand = default, System.Threading.CancellationToken cancellationToken = default);
static member GetUserAsync : Microsoft.Azure.Commands.Common.MSGraph.Version1_0.Users.IUsersOperations * string * string * System.Collections.Generic.IList<string> * System.Collections.Generic.IList<string> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Commands.Common.MSGraph.Version1_0.Users.Models.MicrosoftGraphUser>
<Extension()>
Public Function GetUserAsync (operations As IUsersOperations, userId As String, Optional consistencyLevel As String = Nothing, Optional select As IList(Of String) = Nothing, Optional expand As IList(Of String) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of MicrosoftGraphUser)

Parameters

operations
IUsersOperations
userId
String
consistencyLevel
String
select
IList<String>
expand
IList<String>
cancellationToken
CancellationToken

Returns

Applies to