Hosted Exchange::DisableUser

This procedure disables a User object in the Active Directory directory service and records a billing event.

Arguments

Input argument Required Description

<path>

Yes

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

<preferredDomainController>

Yes

Remarks

Provisioning Steps

  1. Managed Active Directory::DisableUser - Test for UserCreator role and enable the user.

  2. Hosted Exchange::LogEventRecord_ - Record an Enabled event in the Customer Plan database

Security

  • Impersonate caller.

Sample Code

Example XML Request

<request>   
        <procedure>    
                <execute namespace="Hosted Exchange" procedure="DisableUser" impersonate="1">       
                        <executeData>         
                                <path>LDAP://CN=bob@alpineskihouse.com,OU=alpineskihouse,OU=WH,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::EnableUser