Declaration
protected abstract bool changePassword(
string username,
string newPasswordHash,
Func<string, bool> verifyOldPasswordHash
)
Summary
When overridden in a derived class, attempts to change a user’s password.
Parameters
string | username |
The user whose password is to be changed. |
string | newPasswordHash |
The new password hash for the user. |
Func<string, bool> | verifyOldPasswordHash |
A function which, if not null , must be called to verify that the old password is valid. |
Returns
true
if the password was successfully changed;
false
if the specified user does not exist or
verifyOldPasswordHash returned
false
indicating that the old password hash turned
out to be invalid.