Share via


Hosted Unified Messaging::DisableMailbox

This produres disables a user's mailbox for unified messaging. This method is a pass through but present to provide the opposing interface at this level to the enable procedure for consistency.

Arguments

Input Arguments Required Description

<preferredDomainController>

Yes

The domain controller to use for Active Directory actions.

<path>

Yes

This parameter specifies the Lightweight Directory Access Protocol (LDAP) path of the organization.

<keepProperties>

No

This parameter causes the provider to keep the maiboxes unified messaging properties after the mailbox is disabled for unified messaging..

Remarks

Security

The caller must be at least a member of role: UserCreators.

Sample Code

Example XML Request

<request> 
  <procedure> 
    <execute namespace="Hosted Unified Messaging" procedure="DisableMailbox" impersonate="1"> 
      <executeData> 
<path>LDAP://CN=User@Alpineskihouse .com,OU=Alpineskihouse,OU=ConsolidatedMessenger,OU=Hosting,DC=Fabrikam,DC=Com</path> 
        <identity>SalesPolicy</identity> 
        <keepProperties>false</keepProperties> 
        <preferredDomainController>ad01.fabrikam.com</preferredDomainController>       
      </executeData> 
      <after source="executeData" destination="data" /> 
    </execute> 
  </procedure> 
</request>

Applies To

Hosted Unified Messaging Namespace for:

  • Hosted Messaging and Collaboration version 4.5

  • Hosted Messaging and Collaboration version 4.0

See also

Tasks

Hosted Email 2007::CreateMailbox
Hosted Email 2007::DeleteMailbox
Hosted Email 2007::EnableMailbox
Hosted Email 2007::GetMailbox
Hosted Email 2007::ModifyMailbox
Hosted Email 2007::MoveMailbox