• Модуль: sender
  • Путь к файлу: ~/bitrix/modules/sender/lib/security/user.php
  • Класс: BitrixSenderSecurityUser
  • Вызов: User::getId
public function getId()
{
	if ($this->isCurrent())
	{
		return $this->getObject()->getID();
	}

	return $this->id;
}