Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Users Namespace / AbleCommerceMembershipProvider Class / ChangePassword Method
The user to update the password for.
The current password for the specified user.
The new password for the specified user.
In This Topic
    ChangePassword Method
    In This Topic
    Processes a request to update the password for a membership user.
    Syntax
    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.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also