Language

UserStore<TUser, TRole, TKey, TUserLogin, TUserRole, TUserClaim>.SetPasswordHashAsync Method (TUser, String)

 

Asynchronously sets the password hash for a user.

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

Syntax

public virtual Task SetPasswordHashAsync(
    TUser user,
    string passwordHash
)
public:
virtual Task^ SetPasswordHashAsync(
    TUser user,
    String^ passwordHash
)
abstract SetPasswordHashAsync :
        user:'TUser *
        passwordHash:string -> Task
override SetPasswordHashAsync :
        user:'TUser *
        passwordHash:string -> Task
Public Overridable Function SetPasswordHashAsync (
    user As TUser,
    passwordHash As String
) As Task

Parameters

  • user Type: TUser

    The user.

Return Value

Type: System.Threading.Tasks.Task

The task representing the asynchronous operation.

Implements

IUserPasswordStore<TUser, TKey>.SetPasswordHashAsync(TUser, String)

See Also

UserStore<TUser, TRole, TKey, TUserLogin, TUserRole, TUserClaim> Class Microsoft.AspNet.Identity.EntityFramework Namespace [ASP.NET Identity](https://go.microsoft.com/fwlink/p/?linkid=393664.

Return to top