Click or drag to resize
ApplicationUserStoreTUserSetEmailConfirmedAsync Method
Sets the flag indicating whether the specified user's email address has been confirmed or not.

Namespace: Kentico.Membership
Assembly: Kentico.Membership (in Kentico.Membership.dll) Version: 13.0.131
Syntax
C#
public 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
ExceptionCondition
ArgumentNullExceptionuser is null.
See Also