Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

IMembershipProvider.ChangePasswordQuestionAndAnswer Method

Processes a request to update the password question and answer for a membership user.

[Visual Basic]
Public Sub ChangePasswordQuestionAndAnswer( _
   ByVal username As String, _
   ByVal password As String, _
   ByVal newPasswordQuestion As String, _
   ByVal newPasswordAnswer As String _
)
[C#]
bool ChangePasswordQuestionAndAnswer(
   string username,
   string password,
   string newPasswordQuestion,
   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.

See Also

IMembershipProvider Interface | Spring.Web.Providers Namespace