UserStore<TUser, TRole, TKey, TUserLogin, TUserRole, TUserClaim>.HasPasswordAsync Method (TUser)
Asynchronously determines whether the user has a password set.
Namespace: Microsoft.AspNet.Identity.EntityFramework
Assembly: Microsoft.AspNet.Identity.EntityFramework (in Microsoft.AspNet.Identity.EntityFramework.dll)
Syntax
public virtual Task<bool> HasPasswordAsync(
TUser user
)
public:
virtual Task<bool>^ HasPasswordAsync(
TUser user
)
abstract HasPasswordAsync :
user:'TUser -> Task<bool>
override HasPasswordAsync :
user:'TUser -> Task<bool>
Public Overridable Function HasPasswordAsync (
user As TUser
) As Task(Of Boolean)
Parameters
user
Type: TUserThe user.
Return Value
Type: System.Threading.Tasks.Task<Boolean>
The task representing the asynchronous operation.
Implements
IUserPasswordStore<TUser, TKey>.HasPasswordAsync(TUser)
See Also
UserStore<TUser, TRole, TKey, TUserLogin, TUserRole, TUserClaim> Class
Microsoft.AspNet.Identity.EntityFramework Namespace
ASP.NET Identity
Return to top