UsersOperationsExtensions.GetUserAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- cancellationToken
- CancellationToken