Click or drag to resize
MFAuthenticationHelperIsPasscodeValid Method
Recognize if entered passcode is valid.

Namespace: CMS.Membership
Assembly: CMS.Membership (in CMS.Membership.dll) Version: 10.0.0
Syntax
C#
public static bool IsPasscodeValid(
	UserInfo user,
	string passcode
)

Parameters

user
Type: CMS.MembershipUserInfo
User.
passcode
Type: SystemString
Passcode.

Return Value

Type: Boolean
True if passcode is valid. False otherwise.
See Also