Click or drag to resize
CMSMembershipProviderMFValidatePasscode Method (UserInfo, String, Boolean)
Validates entered passcode for user. Checks passcode only.

Namespace: CMS.MembershipProvider
Assembly: CMS.MembershipProvider (in CMS.MembershipProvider.dll) Version: 9.0.0
Syntax
C#
public bool MFValidatePasscode(
	UserInfo user,
	string passcode,
	bool finalize = true
)

Parameters

user
Type: CMS.MembershipUserInfo
User.
passcode
Type: SystemString
Passcode.
finalize (Optional)
Type: SystemBoolean
Finalization of authentication process will NOT be performed if set to false.

Return Value

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