System.Web.Security.MembershipProvider.ChangePassword Method

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

Syntax

public abstract bool ChangePassword (string name, string oldPwd, string newPwd)

Parameters

name
Documentation for this section has not yet been entered.
oldPwd
Documentation for this section has not yet been entered.
newPwd
Documentation for this section has not yet been entered.

Returns

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

Remarks

Takes, as input, a user name, a current password, and a new password, and updates the password in the data source if the supplied user name and current password are valid.

Requirements

Namespace: System.Web.Security
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0