2.1 Create Member

You can create a new member by creating a line, using the below values. This will create a new member, exactly as if they were joining from the public web site, or being created through the Admin Control Panel.
Field Name
Description
Action
CREATE_MEMBER
Username
The username of the new member being created. This member can not already exist in the database.
Sponsor
The username of the sponsor, of the new member. If the new member does not have a sponsor, this field can be left blank.
Member Type
The member type ID# of the new member. This can be found through the Setup->Member Settings menu of the Admin Control Panel.

NOTE: You must put the ID# of the member type, and not the actual name of the member type.
Add Commission?
A 1 or 0, defining whether or not to add commission transactions for the new member.
Send Notifications
A 1 or 0, defining whether or not to send the appropriate notifications for the new member.
... member profile ...
The values of the new member's profile. When creating a new member through the Database->Create New Member menu, the software asks for the member's profile. Use those exact fields in the same order, but do not include the Username or Sponsor fields.
Below shows some example lines, which will create a new member:
CREATE_MEMBER   jsmith   company   2   1   0   John Smith   jsmith@aol.com   money52
CREATE_MEMBER   lori      1   1   0   Lori James   lori@isp.com   ice773
CREATE_MEMBER   brooks   mandy   2   1   0   Jane Lines   jane@hotmail.com   bear99
Using the above example lines, three new members would be created with the usernames jsmith, lori, and brooks. The member jsmith would have the sponsor company, while the member lori would have no sponsor, and brooks would have the member mandy as a sponsor. The three members would be created with the member type ID# 2, 1, and 2 respectively.

The needed commission transactions would be added to the upline of all three members, but no notifications would be sent out for them. The last three values of each line are the member's full name, e-mail address, and password, for the member's profiles.