| ApplicationUserStoreTUserCreateAsync Method  | 
            Creates the specified user in the user store.
            
 
Namespace: Kentico.MembershipAssembly: Kentico.Membership (in Kentico.Membership.dll) Version: 13.0.131
Syntaxpublic Task<IdentityResult> CreateAsync(
	TUser user,
	CancellationToken cancellationToken
)
Parameters
- user
 - Type: TUser
The user to create. - cancellationToken
 - Type: System.ThreadingCancellationToken
The CancellationToken used to propagate notifications that the operation should be canceled. 
Return Value
Type: 
TaskIdentityResult
            The 
TaskTResult that represents the asynchronous operation, containing the 
IdentityResult of the creation operation.
            
Implements
IUserStore.CreateAsync(UTP, CancellationToken)
Exceptions| Exception | Condition | 
|---|
| ArgumentNullException | user is null. | 
See Also