user
Overview¶
This object is used to read "User" information in "Server Script". It is retrieved by the Get method of the "users object".
Properties¶
| No | Property name | get | set | type | Description |
|---|---|---|---|---|---|
| 1 | TenantId | Yes | No | int | Tenant ID |
| 2 | UserId | Yes | No | int | User ID |
| 3 | DeptId | Yes | No | int | Department ID |
| 4 | LoginId | Yes | No | string | Login ID |
| 5 | Name | Yes | No | string | Name |
| 6 | UserCode | Yes | No | string | User code |
| 7 | TenantManager | Yes | No | bool | Tenant manager |
| 8 | Disabled | Yes | No | bool | Disabled |
Usage Examples¶
In the example below, the "user object" for user ID 1 is retrieved from the "users object" and the user's name and department ID are output to the log.