Метод isPortalUser
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
строки
588–591
~/bitrix/modulesim/lib/V2/Guest/GuestService.php
Исходный код
Сигнатура метода
private function isPortalUser(User $user): bool
Возвращает:
bool
Описание
A person of this portal rather than a visitor of one of its public contours. Asked through {@see User::isInternalType()} because the auth id of a portal user cannot be listed: an employee carries none at all, a social one 'socservices' or the service id, an LDAP one 'LDAP#{serverId}'.
Параметры
1| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$user
|
User
|
-
|
-
|