$p.deptId 2022-12-202026-08-27 Overview¶ This explains the function to get the dept ID of the logged-in user. Syntax¶ $p.deptId() Usage Examples¶ The following is a script that sets the department ID of the logged-in user in the department input column. JavaScript¶ $p.set($p.getControl('ClassA'), $p.deptId()); Was this page helpful? Thanks for your feedback! Thanks for your feedback! We will use it to improve this page.