Creates a new organizational unit. Before creating an Organizational Unit, fetch the Parent Unit. If it has no parent, fetch the Root organizational unit. For example: rootOU = DirOrganizationalUnit.fetchRoot(session : mySession) bostonOU = create(rootOU, session : mySession, name : "Boston", description : "Boston Offices") //Creating Children OUs bostMarkOU = create(bostonOU, session : mySession, name : "Marketing", description : "Boston Marketing OU") bostSaleOU = create(bostonOU, session : mySession, name : "Sales", description : "Boston Sales OU")
| Name | Type | Description | Mode |
|---|---|---|---|
| session | Fuego.Fdi.DirectorySession | an active session with the directory provider | in |
| name | String | the name of the new organizational unit | in |
| description | String | the description of the new organizational unit | in |