MembershipProvider.ChangePasswordQuestionAndAnswer Method
.NET Framework 3.0
Processes a request to update the password question and answer for a membership user.
Namespace: System.Web.Security
Assembly: System.Web (in system.web.dll)
Assembly: System.Web (in system.web.dll)
public abstract boolean ChangePasswordQuestionAndAnswer ( String username, String password, String newPasswordQuestion, String newPasswordAnswer )
public abstract function ChangePasswordQuestionAndAnswer ( username : String, password : String, newPasswordQuestion : String, newPasswordAnswer : String ) : boolean
Not applicable.
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.For an example of a MembershipProvider implementation, see Implementing a Profile Provider.
Community Additions
ADD
Show: