Метод isRealUser

Расположение

Исходный файл метода в Bitrix Framework

Путь к исходному файлу строки 99–102
~/bitrix/modulesim/lib/V2/Sync/UserLifecycleService.php

Исходный код

PHP
private static

Сигнатура метода

private static function isRealUser(int $userId): bool

Возвращает: bool

Описание

Checks whether the given user is a real (human) user, not a service/external account (bot, email, imconnector, sale, shop, replica, __controller, call, document_editor, calendar_sharing, im_guest, rest_system, ...). Delegates to {@see User::isInternalType()} with no skip list, so the full external-type list ({@see \Bitrix\Main\UserTable::getExternalUserTypes()}, including im_guest) is excluded — consistent with the FiredUsersAgent REAL_USER filter, which also excludes im_guest.

Параметры

1
Имя Тип По умолчанию Флаги
$userId int -
-