GnomonMembershipProviderChangePasswordQuestionAndAnswer Method |
Processes a request to update the password question and answer for a membership user.
Namespace: RMP.WebAssembly: RMP.Web (in RMP.Web.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public override bool ChangePasswordQuestionAndAnswer(
string username,
string password,
string newPasswordQuestion,
string newPasswordAnswer
)
Public Overrides Function ChangePasswordQuestionAndAnswer (
username As String,
password As String,
newPasswordQuestion As String,
newPasswordAnswer As String
) As Boolean
public:
virtual bool ChangePasswordQuestionAndAnswer(
String^ username,
String^ password,
String^ newPasswordQuestion,
String^ newPasswordAnswer
) override
abstract ChangePasswordQuestionAndAnswer :
username : string *
password : string *
newPasswordQuestion : string *
newPasswordAnswer : string -> bool
override ChangePasswordQuestionAndAnswer :
username : string *
password : string *
newPasswordQuestion : string *
newPasswordAnswer : string -> bool
Parameters
- username
- Type: SystemString
The user to change the password question and answer for. - password
- Type: SystemString
The password for the specified user. - newPasswordQuestion
- Type: SystemString
The new password question for the specified user. - newPasswordAnswer
- Type: SystemString
The new password answer for the specified user.
Return Value
Type:
Booleantrue if the password question and answer are updated successfully; otherwise, false.
Exceptions See Also