Developer Function: Script: $p.deptId
## Overview
This explains the function to get the organization ID of the logged-in user.
## Syntax
```
$p.deptId()
```
## Usage Example
The following is a script that sets the department ID of the logged-in user in the department input field.
##### JavaScript
```
$p.set($p.getControl('ClassA'), $p.deptId());
```