Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Users Namespace / IUserRepository Interface / CreateUser Method / CreateUser(String,String,String,String,String) Method
User name of the user to create.
Email address of the user to create.
Password for the new user.
A challenge question to assist in recovery of lost passwords.
Answer to the challenge question.
In This Topic
    CreateUser(String,String,String,String,String) Method
    In This Topic
    Create a new user with the specified password, question, and answer.
    Syntax

    Parameters

    username
    User name of the user to create.
    email
    Email address of the user to create.
    password
    Password for the new user.
    passwordQuestion
    A challenge question to assist in recovery of lost passwords.
    passwordAnswer
    Answer to the challenge question.

    Return Value

    A user instance if successful, or a null reference if the create fails.
    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