User (user)
Description
A system user account in the domain.
Defines authorization parameters and limits of access to the system functionality via HTTP and WebSocket API. The composition of a user’s roles determines the level of access to API.
Limitations
-
The collection is available in any domains. Each domain can contain a special set of roles (opts.roles) for users.
-
The system logic uses domains and objects belonging to them when implementing functionality and defining access for individual users. All data within the domain is closed by default. However, user accounts are available to administrators in the parent domain. Refers to the data layer.
Fields
{
"id": uuid,
"name": str,
"login": str,
"pwd": str,
"timezone": float | 'default',
"opts": {
"title": str,
"roles": array<str>,
"tags": array<str>,
"copy_to_domains": array<str>,
"comment": str,
"sites": array<str>,
"allow_script_crud": bool
},
"security": object,
"ext": {
"ct": date,
"lwt": date,
...
}
}
Specification | Description |
---|---|
Field: |
Identifier. Can be specified at creation, otherwise generated by the system. |
Field: |
Username. |
Field: |
User Login. |
Field: |
User Password. |
Field: |
User’s time zone. From -12 to 12, such as 3.5, or `"default"'" to apply the server time zone. |
Field: |
|
Field: |
List of user roles set to personalized. The full set of user roles is also determined by the user’s membership in groups. For master domain accounts that are copied to other domains ('copy_to_domains'), you may need to set the product layer roles installed in the child domain. Such roles are not present in the master domain role list and must be set manually. |
Field: |
User Tag List. |
Field: |
Domain Masks.
Examples:
|
Field: |
Set to 'true' by the system when created during user self-registration. |
Field: |
Filled in by the system during automatic registration or updating data in an external system during OAuth authorization. |
Field: |
Arbitrary header |
Field: |
Arbitrary comment |
Field: |
List of sites to restrict data access. The field exists only in the master domain for users with role |
Field: |
Characteristic to allow CRUD operations when running scripts as user |
Field: |
Maximum number of web sessions for the user. The number is defined as 1 cookie session + n token sessions. When attempting authentication, a web session limit exceeded error will be returned if the session limit is exceeded. |
Field: |
The user phone number applied to the sipuser account during hotlinking using the subscriber function Hot Desk or from the client application. |
Field: |
The user pin code used for the purpose of hotlinking the user and sipuser account using the subscriber function HotDesking. |
Field: |
Allows to extend the composition with arbitrary keys and values. Not available for viewing and changing by the user. |
Field: |
Allows to extend the composition with arbitrary keys and values. Available for viewing and changing by the user. |
Field: |
Object creation time |
Field: |
Time of last modification of the object |
Field: |
List of sections of the 'Settings' application available to the administrator account. |