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
email
Type: System.StringThe e-mail of the user.
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
Return to top