| ApplicationUserStoreTUserSetEmailConfirmedAsync Method  | 
            Sets the flag indicating whether the specified user's email address has been confirmed or not.
            
 
Namespace: Kentico.MembershipAssembly: Kentico.Membership (in Kentico.Membership.dll) Version: 13.0.131
Syntaxpublic Task SetEmailConfirmedAsync(
	TUser user,
	bool confirmed,
	CancellationToken cancellationToken
)
Parameters
- user
 - Type: TUser
The user whose email confirmation status should be set. - confirmed
 - Type: SystemBoolean
A flag indicating if the email address has been confirmed, true if the address is confirmed otherwise false. - cancellationToken
 - Type: System.ThreadingCancellationToken
The CancellationToken used to propagate notifications that the operation should be canceled. 
Return Value
Type: 
Task
            The 
Task representing the asynchronous operation.
            
Implements
IUserEmailStore.SetEmailConfirmedAsync(UTP, Boolean, CancellationToken)
Exceptions| Exception | Condition | 
|---|
| ArgumentNullException | user is null. | 
See Also