Share via


IUserEmailStore<TUser, TKey>.SetEmailConfirmedAsync Method (TUser, Boolean)

 

Asynchronously sets whether the user e-mail is confirmed.

Namespace:   Microsoft.AspNet.Identity
Assembly:  Microsoft.AspNet.Identity.Core (in Microsoft.AspNet.Identity.Core.dll)

Syntax

Task SetEmailConfirmedAsync(
    TUser user,
    bool confirmed
)
Task^ SetEmailConfirmedAsync(
    TUser user,
    bool confirmed
)
abstract SetEmailConfirmedAsync : 
        user:'TUser *
        confirmed:bool -> Task
Function SetEmailConfirmedAsync (
    user As TUser,
    confirmed As Boolean
) As Task

Parameters

  • user
    Type: TUser

    The user where the e-mail belongs.

  • confirmed
    Type: System.Boolean

    true if the user e-mail is confirmed; otherwise, false.

Return Value

Type: System.Threading.Tasks.Task

The task object representing the asynchronous operation.

See Also

IUserEmailStore<TUser, TKey> Interface
Microsoft.AspNet.Identity Namespace
ASP.NET Identity

Return to top