UserStore<TUser, TRole, TKey, TUserLogin, TUserRole, TUserClaim>.GetEmailAsync Method (TUser)

 

Asynchronously gets the user's e-mail.

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

Syntax

public virtual Task<string> GetEmailAsync(
    TUser user
)
public:
virtual Task<String^>^ GetEmailAsync(
    TUser user
)
abstract GetEmailAsync : 
        user:'TUser -> Task<string>
override GetEmailAsync : 
        user:'TUser -> Task<string>
Public Overridable Function GetEmailAsync (
    user As TUser
) As Task(Of String)

Parameters

  • user
    Type: TUser

    The user.

Return Value

Type: System.Threading.Tasks.Task<String>

The task representing the asynchronous operation.

Implements

IUserEmailStore<TUser, TKey>.GetEmailAsync(TUser)

See Also

UserStore<TUser, TRole, TKey, TUserLogin, TUserRole, TUserClaim> Class
Microsoft.AspNet.Identity.EntityFramework Namespace
ASP.NET Identity

Return to top