'Declaration
Public Overrides NotOverridable Function ChangePasswordQuestionAndAnswer( _ ByVal username As System.String, _ ByVal password As System.String, _ ByVal newPasswordQuestion As System.String, _ ByVal newPasswordAnswer As System.String _ ) As System.Boolean
'Usage
Dim instance As VistaDBMembershipProvider Dim username As System.String Dim password As System.String Dim newPasswordQuestion As System.String Dim newPasswordAnswer As System.String Dim value As System.Boolean value = instance.ChangePasswordQuestionAndAnswer(username, password, newPasswordQuestion, newPasswordAnswer)
public override System.bool ChangePasswordQuestionAndAnswer( System.string username, System.string password, System.string newPasswordQuestion, System.string newPasswordAnswer )
Parameters
- username
- The user to change the password question and answer for.
- password
- The password for the specified user.
- newPasswordQuestion
- The new password question for the specified user.
- newPasswordAnswer
- The new password answer for the specified user.
Return Value
true if the password question and answer are updated successfully; otherwise, false.