CreateUser creates a new user within a specified organization. A new user container is created beneath the reseller OU, and a customer record is added to the Plans database. At this stage, no resources are allocated for the new user.


The sequence of steps involved in creating a user is as follows:

  1. Create a user account in Active Directory. This creates a security identifier (SID) and a global unique identifier (GUID). The SID and GUID will never change. This process also creates an entry in the user account database or Security Account Manager (SAM).
  2. Create a customer record in the Plans database. This record contains:
    • User account GUID.
    • GUID of the owning organization.
    • Dates for creation, modification, and information about which process made the last change.