Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Users Namespace / AbleCommerceMembershipProvider Class / CreateUser Method
The user name for the new user.
The password for the new user.
The e-mail address for the new user.
The password question for the new user.
The password answer for the new user
Whether or not the new user is approved to be validated.
The unique identifier from the membership data source for the user.
A System.Web.Security.MembershipCreateStatus enumeration value indicating whether the user was created successfully.
In This Topic
    CreateUser Method (AbleCommerceMembershipProvider)
    In This Topic
    Adds a new membership user to the data source.
    Syntax

    Parameters

    username
    The user name for the new user.
    password
    The password for the new user.
    email
    The e-mail address for the new user.
    passwordQuestion
    The password question for the new user.
    passwordAnswer
    The password answer for the new user
    isApproved
    Whether or not the new user is approved to be validated.
    providerUserKey
    The unique identifier from the membership data source for the user.
    status
    A System.Web.Security.MembershipCreateStatus enumeration value indicating whether the user was created successfully.

    Return Value

    A System.Web.Security.MembershipUser object populated with the information for the newly created user.
    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