Previous Topic: Group and User Name RequirementsNext Topic: Example Command File 2: User Properties


Example Command file 1: New users and groups

This command file creates four new groups and two new users. It also reorganizes the group hierarchy. In this example, the administrator running the Account Import wizard has a management group set to the top‑level Users group. The wizard interprets all group paths specified in the command file as being relative to this management group.

Example Command File

1

newgroup,Directors

2

newgroup,"South Asia"

3

newgroup,Europe,Sales

4

newgroup,Legal,Corporate

5

newuser,unipraxis\lyndasteel,Directors

6

newuser,unipraxis\spencerrimmel,Directors

7

# Move users and groups to a new parent group

8

movegroup,Directors,Corporate

9

movegroup,"South Asia",Sales

10

moveuser,unipraxis\omarabassi,Directors

11

moveuser,unipraxis\frankschaeffer,Directors

Resulting Actions:

Lines 1-4: Adds four new groups. Note that because no parent group is specified for the new Directors or South Asia groups, it defaults to the management group of the user running the wizard.

Lines 5-6: Adds two new users to the newly imported Directors group.

Line 7: Adds a comment

Lines 8-9: Moves the Directors group into the Corporate group, and Asia into the Sales group.

Lines 10-11: Moves existing users into the Directors group. You do not specify the users’ current group.

Import Results for Example Command File 1

Before importing:

After importing

user hierarchy before importing

user hierarchy after importing

Note: In this example, the administrator running the wizard has a management group set to the top-level Users group.