Language
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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: TUser
The 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](https://go.microsoft.com/fwlink/p/?linkid=393664.
Return to top