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: 11.0.0
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