Exchange Provider::DeleteMailboxes

The DeleteMailboxes method deletes all user mailboxes in a given organizational unit (OU).

Arguments

Argument Required Description

Path

Yes

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

Remarks

Rollback Calls

The DeleteMailboxes method provides no transaction rollback calls.

Sample Code

Example XML Request

The following is an example of an XML request for the DeleteMailboxes method of the Exchange Provider:

<request> 
    <data/> 
        <procedure> 
            <execute namespace='Exchange Provider' 
             procedure='DeleteMailboxes'> 
                <executeData> 
                <path>LDAP://OU=litware,OU=consolidatedmessenger, 
                  DC=fabrikam,DC=com </path> 
                </executeData> 
                  </execute> 
        </procedure> 
</request> 

Example XML Response

No example XML response.

Applies To

Exchange Provider API for:

  • Hosted Messaging and Collaboration version 3.5

  • Hosted Messaging and Collaboration version 3.0

See also

Tasks

Exchange Provider::DeleteMailbox
Exchange Provider::CreateMailbox