UserStore<TUser>.HasPasswordAsync Method

Returns true if the user has a password set

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

Syntax

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

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

Parameters

Return Value

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

Implements

IUserPasswordStore<TUser>.HasPasswordAsync(TUser)

See Also

Reference

UserStore<TUser> Class

Microsoft.AspNet.Identity.EntityFramework Namespace