UsersOperationsExtensions.UpdateAsync 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.
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.