ApplicationUserStoreTUserGetEmailConfirmedAsync Method |
Gets a flag indicating whether the email address for the specified user has been verified, true if the email address is verified otherwise
false.
Namespace: Kentico.MembershipAssembly: Kentico.Membership (in Kentico.Membership.dll) Version: 13.0.131
Syntax public Task<bool> GetEmailConfirmedAsync(
TUser user,
CancellationToken cancellationToken
)
Parameters
- user
- Type: TUser
The user whose email confirmation status should be returned. - cancellationToken
- Type: System.ThreadingCancellationToken
The CancellationToken used to propagate notifications that the operation should be canceled.
Return Value
Type:
TaskBoolean
The
TaskTResult containing the results of the asynchronous operation, a flag indicating whether the email address for the specified
user
has been confirmed or not.
Implements
IUserEmailStore.GetEmailConfirmedAsync(UTP, CancellationToken)Exceptions Exception | Condition |
---|
ArgumentNullException | user is null. |
See Also