IUserPasswordStore<TUser>.HasPasswordAsync Method

Returns true if a user has a password set

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

Syntax

'Declaration
Function HasPasswordAsync ( _
    user As TUser _
) As Task(Of Boolean)
'Usage
Dim instance As IUserPasswordStore 
Dim user As TUser
Dim returnValue As Task(Of Boolean)

returnValue = instance.HasPasswordAsync(user)
Task<bool> HasPasswordAsync(
    TUser user
)
Task<bool>^ HasPasswordAsync(
    TUser user
)
abstract HasPasswordAsync : 
        user:'TUser -> Task<bool> 
function HasPasswordAsync(
    user : TUser
) : Task<boolean>

Parameters

Return Value

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

See Also

Reference

IUserPasswordStore<TUser> Interface

Microsoft.AspNet.Identity Namespace