Sdílet prostřednictvím


UserManager<TUser>.UpdatePasswordHash(TUser, String, Boolean) Metoda

Definice

Aktualizace hodnotu hash hesla uživatele.

protected:
 virtual System::Threading::Tasks::Task<Microsoft::AspNetCore::Identity::IdentityResult ^> ^ UpdatePasswordHash(TUser user, System::String ^ newPassword, bool validatePassword);
protected virtual System.Threading.Tasks.Task<Microsoft.AspNetCore.Identity.IdentityResult> UpdatePasswordHash (TUser user, string newPassword, bool validatePassword);
abstract member UpdatePasswordHash : 'User * string * bool -> System.Threading.Tasks.Task<Microsoft.AspNetCore.Identity.IdentityResult>
override this.UpdatePasswordHash : 'User * string * bool -> System.Threading.Tasks.Task<Microsoft.AspNetCore.Identity.IdentityResult>
Protected Overridable Function UpdatePasswordHash (user As TUser, newPassword As String, validatePassword As Boolean) As Task(Of IdentityResult)

Parametry

user
TUser

Uživatel.

newPassword
String

Nové heslo.

validatePassword
Boolean

Jestli se má ověřit heslo.

Návraty

Jestli se heslo úspěšně aktualizovalo.

Platí pro