Click or drag to resize
MFAuthenticationHelperIsPasscodeValid Method
Checks whether the entered passcode is valid.

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

Parameters

user
Type: CMS.MembershipUserInfo
User who is being authenticated.
passcode
Type: SystemString
Passcode entered by the user.

Return Value

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