The following objects are directly related to the
The user object has the following properties.
|userid||string||(readonly) ID of the user.|
| alias |
|attempt_clock||timestamp||(readonly) Time of the last unsuccessful login attempt.|
|attempt_failed||integer||(readonly) Recent failed login attempt count.|
|attempt_ip||string||(readonly) IP address from where the last unsuccessful login attempt came from.|
|autologin||integer|| Whether to enable auto-login.
0 - (default) auto-login disabled;
1 - auto-login enabled.
|autologout||string|| User session life time. Accepts seconds and time unit with suffix. If set to 0s, the session will never expire.
|lang||string|| Language code of the user's language, for example,
|name||string||Name of the user.|
|refresh||string|| Automatic refresh period. Accepts seconds and time unit with suffix.
|rows_per_page||integer|| Amount of object rows to show per page.
|surname||string||Surname of the user.|
|theme||string|| User's theme.
|url||string||URL of the page to redirect the user to after logging in.|
|timezone||string|| User's time zone, for example,
For the full list of supported time zones please refer to PHP documentation.
| roleid |
|string||Role ID of the user.|
The media object has the following properties.
| mediatypeid |
|string||ID of the media type used by the media.|
| sendto |
|string/array|| Address, user name or other identifier of the recipient.
If type of Media type is e-mail, values are represented as array. For other types of Media types, value is represented as a string.
|active||integer|| Whether the media is enabled.
0 - (default) enabled;
1 - disabled.
|severity||integer|| Trigger severities to send notifications about.
Severities are stored in binary form with each bit representing the corresponding severity. For example, 12 equals 1100 in binary and means, that notifications will be sent from triggers with severities warning and average.
Refer to the trigger object page for a list of supported trigger severities.
|period||string|| Time when the notifications can be sent as a time period or user macros separated by a semicolon.