UserStore<TUser, TRole, TKey, TUserLogin, TUserRole, TUserClaim>.SetEmailConfirmedAsync Method (TUser, Boolean)
Asynchronously sets the IsConfirmed property for the user.
Namespace: Microsoft.AspNet.Identity.EntityFramework
Assembly: Microsoft.AspNet.Identity.EntityFramework (in Microsoft.AspNet.Identity.EntityFramework.dll)
Syntax
public virtual Task SetEmailConfirmedAsync(
TUser user,
bool confirmed
)
public:
virtual Task^ SetEmailConfirmedAsync(
TUser user,
bool confirmed
)
abstract SetEmailConfirmedAsync :
user:'TUser *
confirmed:bool -> Task
override SetEmailConfirmedAsync :
user:'TUser *
confirmed:bool -> Task
Public Overridable Function SetEmailConfirmedAsync (
user As TUser,
confirmed As Boolean
) As Task
Parameters
user
Type: TUserThe user.
confirmed
Type: System.Booleantrue to confirm the email; otherwise, false.
Return Value
Type: System.Threading.Tasks.Task
The task representing the asynchronous operation.
Implements
IUserEmailStore<TUser, TKey>.SetEmailConfirmedAsync(TUser, Boolean)
See Also
UserStore<TUser, TRole, TKey, TUserLogin, TUserRole, TUserClaim> Class
Microsoft.AspNet.Identity.EntityFramework Namespace
ASP.NET Identity
Return to top