Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Users Namespace / AbleCommerceMembershipProvider Class / ChangePasswordQuestionAndAnswer Method
The user to change the password question and answer for.
The password for the specified user.
The new password question for the specified user.
The new password answer for the specified user.
In This Topic
    ChangePasswordQuestionAndAnswer Method
    In This Topic
    Processes a request to update the password question and answer for a membership user.
    Syntax
    public override bool ChangePasswordQuestionAndAnswer( 
       string username,
       string password,
       string newPasswordQuestion,
       string newPasswordAnswer
    )

    Parameters

    username
    The user to change the password question and answer for.
    password
    The password for the specified user.
    newPasswordQuestion
    The new password question for the specified user.
    newPasswordAnswer
    The new password answer for the specified user.

    Return Value

    true if the password question and answer are 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