Dela via


UsersOperationsExtensions.CreateAsync Method

Definition

Create a new user.

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

Parameters

operations
IUsersOperations

The operations group for this extension method.

parameters
UserCreateParameters

Parameters to create a user.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to