Share via


Managed Active Directory::ModifyOrganization

The ModifyOrganization method changes properties of an organization.

Arguments

Input Arguments Required Description

<org>

Yes

The Lightweight Directory Access Protocol (LDAP) path of the organizational to be modified

<properties>

Yes

Added or modified properties for the organization, in the following format:

<properties> 
  <property="description">the description of the reseller<property> 
</properties>

<preferredDomainController>

No

The domain controller to be used for this request

Remarks

Security

  • Impersonate caller.

Sample Code

Example XML Request

<request> 
  <procedure> 
    <execute namespace="Managed Active Directory" procedure="ModifyOrganization" impersonate="1"> 
      <executeData> 
        <org>LDAP://OU=Reseller1,OU=Hosting,DC=contoso,DC=com</org> 
        <properties> 
          <property name="description">The reseller of too much stuff @contoso.com</property> 
        </properties> 
        <preferredDomainController>myPrimaryDC.contoso.com</preferredDomainController> 
      </executeData> 
    </execute> 
  </procedure> 
</request>

Applies To

Managed Active Directory Namespace APIManaged Active Directory Namespace API for:

  • Hosted Messaging and Collaboration version 4.5

  • 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::CreateOrganization
Managed Active Directory::DeleteOrganization
Managed Active Directory::RenameOrganization