Windows-based Hosting::DeleteOrganization

The DeleteOrganization procedure deletes an organization, de-allocates resources, and marks the organization as deleted in the Customer Service Plans database.

Arguments

The DeleteOrganization procedure requires the following input parameters.

Input Argument Description

<org>

The Lightweight Directory Access Protocol (LDAP) path of the organization.

<preferredDomainController>

The name of the preferred domain controller.

Output Arguments

The DeleteOrganization procedure has no return values.

Remarks

Security

The DeleteOrganization procedure has the following security requirements:

  • The caller is impersonated.

  • The caller is tested for OrgCreator permissions.

Process Steps

The following steps occur when deleting an organization with the DeleteOrganization procedure of the Managed Windows-based Hosting Namespace:

  • Associate service plans with the customer.

  • Call appropriate resource management procedures to reserve resources based on plan attributes.

Sample Code

Example XML Request

The following is an example of an XML request for the DeleteOrganization procedure of the Managed Windows-based Hosting Namespace:

<request> 
        <procedure> 
                <execute namespace="Windows-based Hosting"  
                procedure="DeleteOrganization" impersonate="1"> 
                        <executeData> 
        <preferredDomainController>AD01.fabrikam.com 
                        </preferredDomainController> 
                        <org>LDAP://OU=northwindtraders, 
                        OU=consolidatedmessenger,OU=Hosting,DC=fabrikam,DC=Com</org> 
        </executeData> 
                </execute> 
        </procedure> 
</request> 

Applies To

Managed Windows-based Hosting Namespace API for:

  • 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

See also

Tasks

Windows-based Hosting::CreateResellerOrganization
Windows-based Hosting::CreateCustomerOrganization