ChangePasswordQuestionAndAnswer Method
Syntax
Context.Security.ChangePasswordQuestionAndAnswer as L (UserName as C, Password as C, Question as C, Answer as C)
Arguments
- UserNameCharacter
The name of the user as is used during login.
- PasswordCharacter
The user's password.
- QuestionCharacter
The user's new security question.
- AnswerCharacter
The user's new security answer.
Returns
- resultLogical
Returns .T. if the user's question and answer was changed; otherwise .F.
Description
Changes the security question and security answer for the user.
Discussion
Context.Security.ChangePasswordQuestionAndAnswer() changes the security question and security answer for the user. Check Context.Security.CallResult.Success before using the return value.