IUserPasswordStore<TUser, TKey>.HasPasswordAsync Method (TUser)
Indicates whether the user has a password set.
Namespace: Microsoft.AspNet.Identity
Assembly: Microsoft.AspNet.Identity.Core (in Microsoft.AspNet.Identity.Core.dll)
Syntax
Task<bool> HasPasswordAsync(
TUser user
)
Task<bool>^ HasPasswordAsync(
TUser user
)
abstract HasPasswordAsync :
user:'TUser -> Task<bool>
Function HasPasswordAsync (
user As TUser
) As Task(Of Boolean)
Parameters
user
Type: TUserThe user.
Return Value
Type: System.Threading.Tasks.Task<Boolean>
true if the user has a password set; otherwise, false.
See Also
IUserPasswordStore<TUser, TKey> Interface
Microsoft.AspNet.Identity Namespace
ASP.NET Identity
Return to top