IUserEmailStore<TUser>.SetEmailConfirmedAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets the flag indicating whether the specified user
's email address has been confirmed or not.
public:
System::Threading::Tasks::Task ^ SetEmailConfirmedAsync(TUser user, bool confirmed, System::Threading::CancellationToken cancellationToken);
public System.Threading.Tasks.Task SetEmailConfirmedAsync (TUser user, bool confirmed, System.Threading.CancellationToken cancellationToken);
abstract member SetEmailConfirmedAsync : 'User * bool * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function SetEmailConfirmedAsync (user As TUser, confirmed As Boolean, cancellationToken As CancellationToken) As Task
Parameters
- user
- TUser
The user whose email confirmation status should be set.
- confirmed
- Boolean
A flag indicating if the email address has been confirmed, true if the address is confirmed otherwise false.
- cancellationToken
- CancellationToken
The CancellationToken used to propagate notifications that the operation should be canceled.
Returns
The task object representing the asynchronous operation.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for