Share via


UserStore<TUser>.SetPasswordHashAsync Method

Set the password hash for a user

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

Syntax

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

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

Parameters

Return Value

Type: System.Threading.Tasks.Task

Implements

IUserPasswordStore<TUser>.SetPasswordHashAsync(TUser, String)

See Also

Reference

UserStore<TUser> Class

Microsoft.AspNet.Identity.EntityFramework Namespace