This function is used to Edit an existing Exchange payload in the specified profile.
The ID of the profile you wish to add the exchange payload to
The account name of the exchange payload you wish to edit
Name for the Exchange ActiveSync/Web Services Account
This string specifies the user name for this Exchange account. If missing, the devices prompts for it during profile installation. Format is "<domain>\<username>" e.g. "mydomain.com\$LoginName$"
Optional. The password of the account. Use only with encrypted profiles
Specifies the full email address for the account. The owners (primary user) email address must be injected upon delivery to the device. If not present in the payload, the device prompts for this string during profile installation. In OS X, this key is required
Specifies the Exchange server host name (or IP address). In OS X, this key is required
Specifies whether the Exchange server uses SSL for authentication
The number of past days of mail to syncronize. No limit = 0. Allowed values: 0,1,3,7,14,31
Optional. Default false. If set to true, messages may not be moved out of this email account into another account. Also prevents forwarding or replying from a different account than the message was originated from
Optional. Default false. If set to true, this account will not be available for sending mail in third party applications
Optional. Default false. If set to true, this account supports S/MIME
If true, this account is excluded from address Recents syncing. This defaults to false
How often the device will sync with the Exchange server. Allowed values: Automatic Push, Manually, 15 minutes, 30 minutes, 60 minutes
Whether to synchronize calendar between the device and the server
Whether to synchronize contacts between the device and the server
Whether to synchronize tasks between the device and the server
Comment to add to the changelog when calling this function
Returns a boolean value. True if succeeded, false if not.