Exchange Mobility Provider::ClearUserPolicyExemption

The ClearUserPolicyExemption method clears a user's policy exempt status.

Arguments

Argument Required Description

<path>

Yes

The Lightweight directory access protocol (LDAP) path of the user. Type=string.

<preferredDomainController>

Yes

The name of the preferred domain controller in the Service Provider domain. Type=string.

Remarks

Rollback

For the ClearUserPolicyExemption method, the previous policy status is restored upon rollback.

Sample Code

Example XML Request

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

<request> 
        <procedure> 
                <execute namespace="Exchange Mobility Provider" procedure="ClearUserPolicyExemption" impersonate="1"> 
                        <executeData> 
<preferredDomainController>ad01.fabrikam.com</preferredDomainController> 
                                <path>LDAP://CN=user@alpineskihouse.com, OU=AlpineSkiHouse,OU=ConsolidatedMessengerOU=Hosting,DC=Fabrikam,DC=Com</path> 
                        </executeData> 
                        <after source="executeData" destination="data" mode="merge"/> 
                </execute> 
        </procedure> 
</request> 

Example XML Response

The ClearUserPolicyExemption method has no return values.

Applies To

Exchange Mobility Provider API for:

  • Hosted Messaging and Collaboration version 3.5

See also

Tasks

Exchange Mobility Provider::SetUserPolicyExemption