Modifying an organization by using XML

Use the ModifyOrganizationalUnit procedure of the Managed Active Directory namespace to modify an organization.

This procedure expects to be called with impersonate="1". The procedure impersonates the caller.

Example of a request that calls the ModifyOrganizationalUnit procedure

<request>
  <procedure>
	<execute namespace="Managed Active Directory" procedure="ModifyOrganization">
	<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>

Input for ModifyOrganizationalUnit

The following input is valid for this request:

Typical response for ModifyOrganizationalUnit

The response to this procedure does not contain significant data.

Important