Share via


SingleSignOnMembershipProvider.ChangePassword Method (String, String, String)

 

This method supports the AD FS infrastructure and is not intended to be used directly from your code.

Namespace:   System.Web.Security.SingleSignOn
Assembly:  System.Web.Security.SingleSignOn (in System.Web.Security.SingleSignOn.dll)

Syntax

public override bool ChangePassword(
    string name,
    string oldPassword,
    string newPassword
)
public:
virtual bool ChangePassword(
    String^ name,
    String^ oldPassword,
    String^ newPassword
) override
override ChangePassword : 
        name:string *
        oldPassword:string *
        newPassword:string -> bool
Public Overrides Function ChangePassword (
    name As String,
    oldPassword As String,
    newPassword As String
) As Boolean

Parameters

  • name
    Type: System.String

    The name of the user to update the password for.

  • oldPassword
    Type: System.String

    The current password for the specified user.

  • newPassword
    Type: System.String

    The new password for the specified user.

Return Value

Type: System.Boolean

true if the call succeeded; otherwise, false.

See Also

SingleSignOnMembershipProvider Class
System.Web.Security.SingleSignOn Namespace

Return to top