Skip to main content
Version: v6.5.0

Get department list

Command Description

Get the department list information of the current user from the Commander

Command Prototype

DepartmentsList = Task.GetDepartment()

Command parameter

None

Return result

DepartmentsList, Assign the result of running the command to this variable

Run instance

/**************************Get Department List**************************
Command prototype:
DepartmentsList = Task.GetDepartment()
Input parameters:
--> None
Output parameters:
--> None
Notes:
None
******************************************************************/

DepartmentsList = Task.GetDepartment()