Language

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

 

Asynchronously finds a user by e-mail.

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

Syntax

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

Parameters

Return Value

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

The task representing the asynchronous operation.

Implements

IUserEmailStore<TUser, TKey>.FindByEmailAsync(String)

See Also

UserStore<TUser, TRole, TKey, TUserLogin, TUserRole, TUserClaim> Class Microsoft.AspNet.Identity.EntityFramework Namespace [ASP.NET Identity](https://go.microsoft.com/fwlink/p/?linkid=393664.

Return to top