GnomonMembershipProviderChangePassword Method |
Processes a request to update the password for a membership user.
Namespace: RMP.WebAssembly: RMP.Web (in RMP.Web.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public override bool ChangePassword(
string username,
string oldPassword,
string newPassword
)
Public Overrides Function ChangePassword (
username As String,
oldPassword As String,
newPassword As String
) As Boolean
public:
virtual bool ChangePassword(
String^ username,
String^ oldPassword,
String^ newPassword
) override
abstract ChangePassword :
username : string *
oldPassword : string *
newPassword : string -> bool
override ChangePassword :
username : string *
oldPassword : string *
newPassword : string -> bool
Parameters
- username
- Type: SystemString
The user to update the password for. - oldPassword
- Type: SystemString
The current password for the specified user. - newPassword
- Type: SystemString
The new password for the specified user.
Return Value
Type:
Booleantrue if the password was updated successfully; otherwise, false.
Exceptions See Also