Get user settings
get_user_settingsReturn the personal settings of a user that are otherwise edited only in the user interface: portlets on the home page, favourite items, or the settings of a view table (DataGrid) made in the Customize dialog. The stored settings are returned as they are, not filtered by rights; get_model gives the names of the controls and view pages they refer to.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"kind": "<kind>"
},
"name": "get_user_settings"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | portlets, favorites or datagrid. | |
| user | No | Optional user id or login name. Defaults to the owner of the token. User 1 (Administrator) holds the default layout copied to users who have no portlets or favourites of their own. | |
| portlet | No | datagrid only: 'true' returns the settings of the DataGrid shown as a portlet on the home page, which are stored separately from the settings on its view page. Only for viewpagecontrol. | |
| control_id | No | datagrid only: id of the DataGrid control, as returned by get_model. | |
| control_type | No | datagrid only: viewpagecontrol (a DataGrid on a view page) or formcontrol (a DataGrid in an edit form). |