CMSMembershipProviderMFValidatePasscode Method (UserInfo, String, Boolean) |
Validates entered passcode for user. Checks passcode only.
Namespace: CMS.MembershipProviderAssembly: CMS.MembershipProvider (in CMS.MembershipProvider.dll) Version: 12.0.0
Syntax 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:
BooleanTrue if passcode is valid. False otherwise.
See Also