account_preference_query
This exports the user's My Account > Preferences > Settings.
Parameters:
|
Argument |
Required |
Type |
Description |
|---|---|---|---|
|
login |
yes |
string |
The login name for the user. Login is not required if authenticated by login, it uses the logged in account by default. |
|
format |
no |
string |
The format of the output for the API: text, json or xml. The default is text. |
|
callback |
no |
string |
This only works with Direct APIs. This is a JavaScript function that should be called after the API is completed. This function will be called with the response of the API. Please note: It can only be used when requesting this API via AJAX request. More Information can be found here. |
Example
servername/webadmin/api/account_preference_query.php?login=VALUE
Output
OK:
Language => en_US
Default Paper Size =>
Timezone => Canada/Eastern
Restore Table Sessions => auto
Restore Breadcrumb Sessions => auto
Restore Tab Sessions => auto
ERROR: Permission Denied: Unauthorized access.
Netsweeper Version: 8.1.1