Managed Hosting

The Managed Hosting namespace provides procedures for initializing Active Directory for Web hosting, querying roles and organizations, and performing initial management tasks. The procedures in the Managed Hosting namespace have been specifically created for use in the hosting structure implemented by Microsoft Provisioning System.

The Managed Hosting namespace is required to implement Delegated Administration Console. If you are not using Delegated Administration Console, you can still use the Managed Active Directory namespace and Resource Manager in Microsoft Provisioning System. To do so, use the Managed Hosting namespace to initialize services as described in the table that appears in this topic.

The Managed Hosting namespace implements the following procedures.

Procedure Description
GetCallerUIRoles Returns a list of the user interface (UI) roles that the caller may perform.
GetOrgType Returns the organization type: hosting, reseller, customer, or private.
InitializeADforHosting Creates a hosting organizational unit a the top level of the domain to initialize Active Directory for Web hosting.
InitializeRM_ Creates resource and consumer types for Resource Manager.
TestDomainAdmin Generates an error if the caller does not have domain administration privileges.
TryAddConsumerType_ Is a private helper.
TryAddResourceType_ Is a private helper.
TryAddResourceTypeData_ Is a private helper.
UninitializeRM_ Deletes resource types and consumer types for Resource Manager.

For more information about this namespace and its procedures, including how to use XML to submit requests directly to Microsoft Provisioning Framework (MPF), see Working with the Managed Hosting namespace by using XML. For information on Active Directory Provider and the Active Directory Provider namespace, see Active Directory Provider. For more information on how Resource Manager is implemented, see the Resource management. The Microsoft Provisioning Framework Software Development Kit (SDK) contains additional resources to help you implement namespaces and providers. For more information on the SDK and how to use it, see Microsoft Provisioning Framework SDK.