Platform SDK: Exchange Server

Example: Importing Directory Data

The following is an sample data file for an import session with no user template selected:

Obj-Class,Common-Name,Given-Name,Surname,Home-Server,Display-Name
mailbox,SteveMas,Steve,Masters,FALCON,Steve Masters    
mailbox,JerryWh,Jerry,Wheeler,BOB,,
mailbox,KevinY,,,BOB,
 

In the above example, three mailboxes are created:

The following is an example data file for an importing session where a user template was selected. This user has a Home-Server of FALCON. (In this example, the user template was designated not in the import file, but through the user interface of the Administrator program.)

Obj-Class,Common-Name,Given-Name,Surname,Display-Name,Member
mailbox,SteveMas,Steve,Masters,,MailPM%MAPITest
mailbox,SharonSw,Sharon,Swanson,Sharon Swanson,Testers
 

In the preceding example, two mailboxes are created on the FALCON server, a fact derived from the Home-Server attribute of the user template.

If the option had been set in the Administrator program user interface to create the Windows NT Server security account, a Windows NT Server account is created in the Windows NT Server security domain for each of these users. The Windows NT user name is the same as the Common-Name.