Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

MembershipProviderAdapter.ChangePassword Method

Processes a request to update the password for a membership user.

[Visual Basic]
Public Overrides Sub ChangePassword( _
   ByVal username As String, _
   ByVal oldPassword As String, _
   ByVal newPassword As String _
) _
    Implements IMembershipProvider.ChangePassword
[C#]
public override bool ChangePassword(
   string username,
   string oldPassword,
   string newPassword
);

Parameters

username
The user to update the password for.
oldPassword
The current password for the specified user.
newPassword
The new password for the specified user.

Return Value

true if the password was updated successfully; otherwise, false.

Implements

IMembershipProvider.ChangePassword

See Also

MembershipProviderAdapter Class | Spring.Web.Providers Namespace