Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

IMembershipProvider.ChangePassword Method

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

[Visual Basic]
Public Sub ChangePassword( _
   ByVal username As String, _
   ByVal oldPassword As String, _
   ByVal newPassword As String _
)
[C#]
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.

See Also

IMembershipProvider Interface | Spring.Web.Providers Namespace