PasswordHasherTUserHashPassword Method |
Returns a hashed representation of the supplied password for the specified user.
Namespace: Kentico.MembershipAssembly: Kentico.Membership (in Kentico.Membership.dll) Version: 13.0.131
Syntax public string HashPassword(
TUser user,
string password
)
Parameters
- user
- Type: TUser
The user whose password is to be hashed. - password
- Type: SystemString
The password to hash.
Return Value
Type:
String
A hashed representation of the supplied
password for the specified
user.
Implements
IPasswordHasher.HashPassword(UTP, String)Exceptions Exception | Condition |
---|
ArgumentNullException | user |
See Also