• Модуль: lists
  • Путь к файлу: ~/bitrix/modules/lists/classes/general/livefeed.php
  • Класс: CListsLiveFeed
  • Вызов: CListsLiveFeed::getUserIdsFromRights
static function getUserIdsFromRights(int $logId): array
{
	$userIdsToNotify = [];
	$rightsResult = CSocNetLogRights::getList([], ['LOG_ID' => $logId]);
	while ($right = $rightsResult->fetch())
	{
		if (preg_match('/^U(d+)$/', $right["GROUP_CODE"], $matches))
		{
			$userIdsToNotify[] = $matches[1];
		}
	}

	return $userIdsToNotify;
}