Unified Messaging 2007 Provider::DisableUMMailbox

This procedure disables a users mailbox for Unified Messaging (UM) services. The user will no longer be able to access services provided by unified messaging.

Arguments

Input Arguments Required Description

<preferredDomainController>

Yes

The domain controller to use for Active Directory actions.

<identity>

Yes

The identifier for the user. This can be in the form of a AD Object path, GUID, DN, Domain/SamAccountName, UPN, LegacyExchangeDN, SMTPAddress or Alias.

Dd252344.note(en-us,TechNet.10).gifNote
sAMAccountName cannot be longer than 20 characters. See SAM-Account-Name Attribute for more information.

<keepProperties>

No

This parameter specifies whether to retain the properties after the UM services are disabled.

Remarks

Security

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

Sample Code

Example XML Request

<request> 
        <data/> 
        <procedure> 
                <execute namespace='Unified Messaging 2007 Provider' procedure='DisableUMMailbox'> 
                        <executeData> 
                                <identity>Fabrikam\user1</indentity> 
                                <preferredDomainController>dc01.fabrikam.local</preferredDomainController> 
                                <keepProperties>true</ keepProperties> 
                        </executeData> 
                </execute> 
        </procedure> 
</request>

Applies To

  • Hosted Messaging and Collaboration version 4.5

  • Hosted Messaging and Collaboration version 4.0