Udostępnij za pośrednictwem


UsersOperationsExtensions.CreateAsync Method

Definition

Create a new user.

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

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