Click or drag to resize
UserInfoProviderValidateUserPasswordHash Method
Compares hash of given password with provided hash based on user's password format and salt.

Namespace: CMS.Membership
Assembly: CMS.Membership (in CMS.Membership.dll) Version: 13.0.131
Syntax
C#
public static bool ValidateUserPasswordHash(
	UserInfo ui,
	string userhash,
	string password
)

Parameters

ui
Type: CMS.MembershipUserInfo
User whose password format and salt should be used.
userhash
Type: SystemString
The hashed password provided for comparison.
password
Type: SystemString
Password provided for comparison.

Return Value

Type: Boolean
See Also