getDepartmentNames
\Bitrix\Main\UserUtils::getDepartmentNames( $departmentIds )
Static method allows getting localization for departments, containing the user.
Parameters
Parameter | Description | Available from version |
---|---|---|
departmentIds | Array with UF_DEPARTMENT department IDs from the table Main\UserTable . |
Example
$result = \Bitrix\Main\UserUtils::getDepartmentNames(array(1,2,3));
© «Bitrix24», 2001-2024
Up