This method checks the security answer for the given user and updates the failure attempts. If exceeds the maximum allowed number, then it locks the user account.
Namespace: CelloSaaS.BusinessEdition.ServiceProxies.UserManagementAssembly: CelloSaaS.BusinessEdition (in CelloSaaS.BusinessEdition.dll) Version: 4.3.1.0 (4.3.1.0)
public static bool ValidateSecurityAnswer(
string tenantCodeString,
string userName,
string answer
)
public static bool ValidateSecurityAnswer(
string tenantCodeString,
string userName,
string answer
)
Public Shared Function ValidateSecurityAnswer (
tenantCodeString As String,
userName As String,
answer As String
) As Boolean
Public Shared Function ValidateSecurityAnswer (
tenantCodeString As String,
userName As String,
answer As String
) As Boolean
static member ValidateSecurityAnswer :
tenantCodeString : string *
userName : string *
answer : string -> bool
static member ValidateSecurityAnswer :
tenantCodeString : string *
userName : string *
answer : string -> bool
Parameters
- tenantCodeString
- Type: System String
Company Code of the user
- userName
- Type: System String
user name
- answer
- Type: System String
security answer
Return Value
Type:
BooleanReturns True/False