Managed Active Directory::GetThisOrganizationRoot

The GetThisOrganizationRoot method returns the owning organization of the supplied object. The owning organization will be either the hosting organization, a reseller, or a customer. The supplied object may be any member of the owning org. If you call this procedure and supply an object that happens to be an owning organization, the return value is the same as the supplied object.

To find the hosting organization that owns a reseller, or the reseller that owns a customer, call GetForeignOwnerOrg on the reseller or customer root organization.

This call is implemented internally by checking the other WellKnownObjects property of the containing organizational unit of the object (or the object itself, if it is an organizational unit). If the object is an organizational unit, it's organization root can be bound to as LDAP://<WKGUID=CC016CF08DEF4EA4A05C9C54B198785A, ou=Hosting,dc=contoso01.dc=com>.

 Arguments
 Remarks
 Sample Code
 Applies To
 See Also