Service: zimbraAccount
Namespace: "urn:zimbraAccount"
GetPrefs SOAP Command

Get preferences for the authenticated account
If no <pref> elements are provided, all known prefs are returned in the response.
If <pref> elements are provided, only those prefs are returned in the response.

Authorization token required true
Admin Authorization token required false

GetPrefsRequest

    <GetPrefsRequest> ## GetPrefsRequest
        (<pref name="{pref-name}" [modified="{pref-modified-time} (Long)"]>{value}</pref> ## Pref)*
    </GetPrefsRequest>

The following table describes elements and attributes you can define within a <GetPrefsRequest> element:

XPath Required / Optional Description
/pref Optional (0 or more) Type:{value}
If any of these are specified then only get these preferences
Description for element text content:Preference value
/pref@name Required (only 1) Type:String
Preference name
/pref@modified Optional (0 or 1) Type:Long
Preference modified time (may not be present)

GetPrefsResponse

    <GetPrefsResponse> ## GetPrefsResponse
        (<pref name="{pref-name}" [modified="{pref-modified-time} (Long)"]>{value}</pref> ## Pref)*
    </GetPrefsResponse>

The following table describes elements and attributes you can define within a <GetPrefsResponse> element:

XPath Required / Optional Description
/pref Optional (0 or more) Type:{value}
Preferences
Description for element text content:Preference value
/pref@name Required (only 1) Type:String
Preference name
/pref@modified Optional (0 or 1) Type:Long
Preference modified time (may not be present)