Exchange 2007 Mobility Provider::NewActiveSyncMailboxPolicy

This procedure creates a new mobile mailbox policy object.

Arguments

Input argument Required Description

<name>

Yes

The policy name.

<preferredDomainController>

Yes

The preferred domain controller.

<allowNonProvisionableDevices>

No

This parameter specifies whether devices that cannot be provisioned automatically are allowed. If set to true, the policy allows devices that cannot be provisioned automatically.

<allowSimpleDevicePassword>

No

This parameter specifies whether a simple device password is permitted. A simple device password is one in which there is a specific pattern, such as 1111 or 1234.

<alphanumericDevicePasswordRequired>

No

This parameter specifies whether the device password must contain non-numeric characters. If set to true, the device password must contain non-numeric characters.

<attachmentsEnabled>

No

This parameter specifies whether attachments can be downloaded to the device. If it is set to true, attachments are downloaded to the device.

<deviceEncryptionEnabled>

No

This parameter specifies whether device encryption is enabled. If it is set to true, device encryption is enabled.

<devicePasswordEnabled>

No

This parameter specifies whether a device password is enabled. If it is set to true, device password setting is enabled.

<devicePasswordExpiration>

No

This parameter specifies the length of time, in days, that a password can be used. After this length of time, a new password must be created.

<devicePasswordHistory>

No

This parameter specifies the number of previously used passwords to store. When a user creates a new password, they cannot reuse a stored password that was previously used.

<maxAttachmentSize>

No

This parameter specifies the maximum size of attachments that can be downloaded to the mobile mailbox. The default value is Unlimited.

<maxDevicePasswordFailedAttempts>

No

This parameter specifies the maximum number of failed password attempts a device accepts before it is wiped.

<maxInactivityTimeDeviceLock>

No

This parameter specifies the maximum interval of inactivity before a device locks automatically.

<minDevicePasswordLength>

No

This parameter specifies the minimum length of a device password.

<passwordRecoveryEnabled>

No

This parameter enables the administrator to store the recovery password on Exchange. The recovery password can be viewed from Office Outlook Web Access or the Exchange Management Console.

<uncAccessEnabled>

No

This parameter specifies whether access to Windows file shares is enabled. Access to specific shares is configured on the Exchange ActiveSync virtual directory.

<wssAccessEnabled>

No

This parameter specifies whether access to Microsoft Windows SharePoint Services is enabled. Access to specific shares is configured on the Exchange ActiveSync virtual directory.

Remarks

No remarks.

Sample Code

Example XML Request

<request>  
   <data>  
      <name>SalesPolicy </name> 
      <preferredDomainController>ad01.fabrikam.com </preferredDomainController> 
   </data> 
   <procedure>  
      <execute namespace="Exchange 2007 Mobility Provider" procedure="NewActiveSyncMailboxPolicy" impersonate="1" >  
         <before source="data" destination="executeData" mode="merge" /> 
         <after source="executeData" destination="data" mode="merge" /> 
      </execute> 
   </procedure> 
</request>

Applies To

Exchange 2007 Mobility Provider API for

  • Hosted Messaging and Collaboration version 4.5

  • Hosted Messaging and Collaboration version 4.0