IUserPasswordStore<TUser, TKey>.SetPasswordHashAsync Method

Asynchronously sets the user password hash.

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

Syntax

'Declaration
Function SetPasswordHashAsync ( _
    user As TUser, _
    passwordHash As String _
) As Task
'Usage
Dim instance As IUserPasswordStore 
Dim user As TUser
Dim passwordHash As String 
Dim returnValue As Task 

returnValue = instance.SetPasswordHashAsync(user, _
    passwordHash)
Task SetPasswordHashAsync(
    TUser user,
    string passwordHash
)
Task^ SetPasswordHashAsync(
    TUser user, 
    String^ passwordHash
)
abstract SetPasswordHashAsync : 
        user:'TUser * 
        passwordHash:string -> Task
function SetPasswordHashAsync(
    user : TUser, 
    passwordHash : String
) : Task

Parameters

  • user
    Type: TUser
    The user.

Return Value

Type: System.Threading.Tasks.Task
The task object representing the asynchronous operation.

See Also

Reference

IUserPasswordStore<TUser, TKey> Interface

Microsoft.AspNet.Identity Namespace

Other Resources

ASP.NET Identity