Changes the password question and answer of the user.
A VGPasswordQuestionAndAnswerModificationState representing the status of the modification.
VGSecurityManager.ChangePasswordQuestionAndAnswer(myPassword.Text, newPasswordQuestion.Text, newPasswordAnswer.Text.ToLowerInvariant())
VGSecurityManager.ResetPassword(myPasswordAnswer.Text.ToLowerInvariant())
Exception Type | Condition |
---|---|
ArgumentNullException |
The old password, the new password or the password confirmation are null. The name is null or empty. |
ArgumentException |
The name, password, new password answer is longer than 64 characters The new password question is longer than 256 characters |
VGConfigurationException | The configuration file is not valid or A problem occurs during the connection to the repository.or The version of the repository or the version of the permissions is not supported by the application. |
VGSecurityManager Class | Novalys.VisualGuard.Security Namespace