Hosted Active Directory::CreateResellerOrganization

The CreateResellerOrganization method creates a reseller organization in the specified container.

Arguments

Input Arguments Required Description

<container>

Yes

The Lightweight Directory Access Protocol (LDAP) of the container in which the new Contact is to be created.

<name>

Yes

Contact name.

<preferredDomainController>

Yes

The name of the preferred domain controller.

<description>

No

The description of the organization.

<propertiesXmlString>

No

Valid Active Directory attributes for an object. This property is passed in as an XML fragment string in the following format:

<properties> 
<property name="l">Some City</property> 
<property name="st">Washington</property> 
</properties> 
Output Arguments Description

<org>

Node containing LDAP path and policy information.

Remarks

Procedures Steps

  1. Managed Active Directory::CreateOrganization

  2. Managed Plans::CreateCustomer - Create a new record in the Customer Plan Database and log a Created event

Sample Code

Example XML Request

<request xmlns:xsl="https://www.w3.org/1999/XSL/Transform"> 
          <procedure xmlns:xsl='https://www.w3.org/1999/XSL/Transform'> 
            <execute  namespace="Hosted Active Directory" procedure="CreateResellerOrganization" impersonate="1"> 
              <executeData> 
                <name>ConsolidatedMessenger</name> 
                <description>Hosted E-mail account reseller</description> 
                <properties> 
                  <property name="postalAddress"> 
                    <value>1703 NE 91st</value> 
                  </property> 
                </properties> 
                <preferredDomainController>ad01.fabrikam.com</preferredDomainController> 
              </executeData> 
              <after source="executeData" destination="data" mode="merge"/> 
            </execute> 
          </procedure> 
</request> 

Applies To

Hosted Active Directory Namespace API for

  • Hosted Messaging and Collaboration version 4.5

  • Hosted Messaging and Collaboration version 4.0

See also

Other Resources

API Name [HMC SDK]