Share via


Hosted Exchange::DeletePublicFolder

This procedure deletes the top level public folder for an organization.

Arguments

Input argument Required Description

<path>

Yes

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

<preferredDomainController>

No

<name>

No

The name of the public folder. The procedure put defaults to the name of the organization if it is not provided.

Remarks

Provisioning Steps

  1. Hosted Exchange::DeletePublicFolder_ - Deallocate folder from RM and delete the public folder.

  2. Hosted Exchange::LogEventRecord_ - Log an event of LogEventRecord_

Security

  • Impersonate caller.

  • Caller tested for OrgCreator permission.

Sample Code

Example XML Request

<request>   
        <procedure>     
                <execute namespace="Hosted Exchange" procedure="DeletePublicFolder"  impersonate="1">       
                        <executeData>         
                                <path>LDAP://OU=alpineskihouse,OU=consolidatedmessenger,OU=Hosting,DC=fabrikam,DC=Com</path>         
                                <preferredDomainController>AD01.fabrikam.com</preferredDomainController>        
                        </executeData>       
                        <after source="executeData" destination="data" mode="merge"/>     
                </execute>   
        </procedure> 
</request>

Example XML Response

No example XML response.

Applies To

Hosted Exchange Namespace API for:

  • Hosted Messaging and Collaboration version 3.5

  • Hosted Messaging and Collaboration version 3.0

See also

Tasks

Hosted Exchange::CreatePublicFolder