Метод holdsUser
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
строки
70–73
~/bitrix/modulesim/lib/V2/Integration/HumanResources/Structure.php
Исходный код
Сигнатура метода
public function holdsUser(int $userId): ?bool
Возвращает:
?bool
Описание
Whether the company structure still holds the user in this chat through a linked node. Returns null when the structure could not be asked at all, so the caller can keep a restriction instead of widening rights on an unknown answer.
Параметры
1| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$userId
|
int
|
-
|
-
|