Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

MembershipProviderAdapter.ChangePasswordQuestionAndAnswer Method

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

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

Implements

IMembershipProvider.ChangePasswordQuestionAndAnswer

See Also

MembershipProviderAdapter Class | Spring.Web.Providers Namespace