ApplicationUserStoreTUserSetPasswordHashAsync Method |
Sets the password hash for the specified user.
Namespace: Kentico.MembershipAssembly: Kentico.Membership (in Kentico.Membership.dll) Version: 13.0.131
Syntax public Task SetPasswordHashAsync(
TUser user,
string passwordHash,
CancellationToken cancellationToken
)
Parameters
- user
- Type: TUser
The user whose password hash to set. - passwordHash
- Type: SystemString
The password hash to set. - cancellationToken
- Type: System.ThreadingCancellationToken
The CancellationToken used to propagate notifications that the operation should be canceled.
Return Value
Type:
Task
The
Task that represents the asynchronous operation.
Implements
IUserPasswordStore.SetPasswordHashAsync(UTP, String, CancellationToken)Exceptions Exception | Condition |
---|
ArgumentNullException | user is null. |
See Also