Метод isIntranetUser
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
строки
511–519
~/bitrix/modulesim/lib/V2/Entity/User/User.php
Исходный код
Сигнатура метода
private function isIntranetUser(): bool
Возвращает:
bool
Описание
Mirrors the visibility scope the server search filter applies to a plain viewer: the branch of RecentProvider::getIntranetFilter() and the IS_INTRANET_USER expression it filters by. The department comes from the raw UF_DEPARTMENT, the same source as that expression, and not from the staff service behind isEmployee()/isExtranet()/getType(): the service answers by the membership in the structure nodes, which diverges from the field on a converted structure.