Use the GetForeignOwnerOrg procedure of the Managed Active Directory namespace to return a reseller's hosting organization or a customer's reseller. The supplied organization must be the root of its own organization. Hosting organizations do not have a foreign owner.
This call is implemented internally by checking the
otherWellKnownObjects property of the supplied organizational unit.
The foreign owner organization of an organization root can be bund
to as
LDAP://<WKGUID=58888CFC8F7F430C8183102CD5758D8a
,
ou=Reseller, ou=Hosting,dc=contoso01.dc=com>.
This procedure expects to be called with impersonate="1". The procedure impersonates the caller.
<response>
<data>
<executeData>
<path>LDAP://ou=Reseller,ou=Hosting,dc=contoso01,dc=com</path>
<owner>LDAP://OU=Hosting,DC=contoso01,DC=com</owner>
</executeData>
</data>
</response>
The following input is valid for this request:
Use the <path> element to specify the Lightweight Directory Access Protocol (LDAP) path of the root organization for which you want to find the owner.
<path>LDAP://LDAP path of the root organization</group>
By using the <preferredDomainController> element, you can specify the domain controller that you want to use for this request. Using a single preferred domain controller eliminates replication delays that arise between multiple controllers.
<preferredDomainController>your domain controller</preferredDomainController>
<response>
<data>
<executeData>
<path>LDAP://ou=Reseller,ou=Hosting,dc=contoso01,dc=com</path>
<owner>LDAP://OU=Hosting,DC=contoso01,DC=com</owner>
</executeData>
</data>
</response>
Important