Managed Active Directory::CreateOrganization

The CreateOrganization method creates an organization in Active Directory and sets the initial properties.

Arguments

The CreateOrganization method accepts the following input parameters.

Input arguments Required Description

Container

No

The LDAP path to the container in which to place the organizational unit (OU).

Name

No

The name of the new OU.

PolicyName

No

The creation policy, for example, reseller.

Description

No

The description for the new OU.

PropertyXml

No

A group of XML properties in the following format:

 
<properties>    <property name="l">Some City</property>    <property name="sn">Last Name</property></properties> 
 
        

PreferredDomainController

No

The domain controller to use for this operation.

SendCredentials

No

True/False: embed basic authentication credentials in the MPF request.

ErrorReturn

No

Out parameter containing the error (if any) thrown by MPF during the processing of the request.

Output Arguments

The CreateOrganization method returns the LDAP path to the newly created OU.

Remarks

No remarks.

Sample Code

No sample code.

Applies To

Managed Active Directory Web Service for:

  • Hosted Messaging and Collaboration version 4.0

  • Hosted Messaging and Collaboration version 3.5

  • Hosted Messaging and Collaboration version 3.0

  • Windows-based Hosting version 4.5

  • Windows-based Hosting version 4.0

  • Windows-based Hosting version 3.5

  • Windows-based Hosting for Applications version 1.0

See also

Tasks

Managed Active Directory::DeleteOrganization
Managed Active Directory::ModifyOrganization
Managed Active Directory::RenameOrganization