Share via


Managed Active Directory::GetForeignOwnerOrg

The GetForeignOwnerOrg method returns 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>.

Arguments

Input Arguments Required Description

<path>

Yes

The Lightweight Directory Access Protocol (LDAP) path of the root organization to find the owner for

<preferredDomainController>

No

The domain controller to be used for this request

Remarks

Security

  • Impersonate caller.

Sample Code

Example XML Request

Example XML Response

<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>

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