Developer Function: Server Script: user
## Overview
This object is used to read "[User](/en/manual/table-management-choices-text-users)" information in "[Server Script](/en/manual/table-management-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|ServiceManager|Yes|No|bool|Service manager|
|9|Disabled|Yes|No|bool|Disabled|
## Usage Example
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.
##### JavaScript
```
let user = users.Get(1);
context.Log(`${user.Name},${user.DeptId}`);
```
## Related Information
<div id="ManualList"><ul><li><a href="/en/manual/table-management-choices-text-users">Table Management: Editor: Item Detail Settings: Option List: User</a><span>08.13.2024 up</span></li></ul></article>
<ul><li><a href="/en/manual/table-management-server-script">Table Management: Server Script</a><span>08.13.2024 up</span></li></ul></article>
<ul><li><a href="/en/manual/server-script-users">Developer Function: Server Script: users</a><span>08.14.2024 up</span></li></ul></article></div><input id="SearchTextHidden" type="hidden" value="" />