Click or drag to resize
UserInfoProviderValidateUserPassword Method
Compares hash of given password with user's hash stored in database.

Namespace: CMS.Membership
Assembly: CMS.Membership (in CMS.Membership.dll) Version: 13.0.131
Syntax
C#
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: Boolean
True if the given password's hash and user's password hash are the same, false otherwise.
See Also