# FxUI.organization.getDepartmentsByIds(departmentIds)
This method obtains department information through department IDs.
# parameter
parameter | illustrate | type | Optional value | Default value |
---|---|---|---|---|
departmentIds | Department IDs | array | — | — |
# usage
This method returns department information, as shown in the following example:
const departments = FxUI.organization.getDepartmentsByIds([1000,1001]);
console.log(departments);