Sample: Assigning users to member groups
This sample shows you how to assign
users to an existing member group and load the data into the database.
About this sample
This sample assigns the following users to an existing member group:- Jacob Smith
- Olivia Lee
If you prefer to work with data in XML format instead of in CSV format, you can configure the utility to use XML formatted files. Edit the wc-dataload.xml file and change the location elements to reference the xml files provided.
Procedure
- From the command-line interface go to the following directory:
- WC_installdir/bin
- WCDE_installdir\bin
- Enter the following command to load the new users into the database:
- ./dataload.sh ../samples/DataLoad/Member/MemberGroup/wc-dataload.xml –DLoadOrder=MemberGroupMember
- dataload ..\samples\DataLoad\Member\MemberGroup\wc-dataload.xml –DLoadOrder=MemberGroupMember
Verifying results
Verify that the users were assigned to the member group.- Verify the new users in the access group:
- Open the Organization Administration Console.
- Click .
- Verify that AccessGroup1 is listed and that Olivia Lee is included in this access group.
- Verify the new users in the customer segment:
- Open the Management Center.
- Open the Marketing tool and from the Store list, select AuroraESite.
- From the explorer view, click Customer Segments. The Customer Segments - List page displays.
- Right-click TestMemberGroup; then click Open.
- Click the Customer or Segment tab and verify
the following information:
- Jacob Smith is displayed in the Included customers table.
- Ryan Johnson is displayed in the Excluded customers table.