UserInfoProviderValidateUserPassword Method |
Compares hash of given password with user's hash stored in database.
Namespace: CMS.MembershipAssembly: CMS.Membership (in CMS.Membership.dll) Version: 13.0.131
Syntax public static bool ValidateUserPassword(
UserInfo ui,
string password
)
Parameters
- ui
- Type: CMS.MembershipUserInfo
User whose password hash should be checked - password
- Type: SystemString
Password to check
Return Value
Type:
BooleanTrue if the given password's hash and user's password hash are the same, false otherwise.
See Also