Share via


UsersOperationsExtensions.UpdateAsync Method

Definition

Updates a user.

public static System.Threading.Tasks.Task UpdateAsync (this Microsoft.Azure.Management.Graph.RBAC.Fluent.IUsersOperations operations, string upnOrObjectId, Microsoft.Azure.Management.Graph.RBAC.Fluent.Models.UserUpdateParameters parameters, System.Threading.CancellationToken cancellationToken = default);
static member UpdateAsync : Microsoft.Azure.Management.Graph.RBAC.Fluent.IUsersOperations * string * Microsoft.Azure.Management.Graph.RBAC.Fluent.Models.UserUpdateParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function UpdateAsync (operations As IUsersOperations, upnOrObjectId As String, parameters As UserUpdateParameters, Optional cancellationToken As CancellationToken = Nothing) As Task

Parameters

operations
IUsersOperations

The operations group for this extension method.

upnOrObjectId
String

The object ID or principal name of the user to update.

parameters
UserUpdateParameters

Parameters to update an existing user.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to