Exchange Mobility Provider::SetUserPolicyExemption

The SetUserPolicyExemption method sets a user's policy exempt status. The exemption is stored in the msExchOmaAdminWirelessEnable attribute, as follows:

"0x00000020: whether or not policy is to be enforced for this user. When enabled, the user will be subject to policy checks. The default state is enabled, which corresponds to a value of 0 for this field. This is not a typo."

The exemption is also stored in the msExchOmaAdminExtendedSettings multivalued attribute to a value of "PolicyDataExemption:true" which allows ESM to display a list of exempted users.

 Sample Code
 Applies To
 See Also