• Модуль: main
  • Путь к файлу: ~/bitrix/modules/main/classes/general/user.php
  • Класс: CAllUser
  • Вызов: CAllUser::GetID
public function GetID()
{
	if (!isset($this))
	{
		trigger_error("Static call CUser::GetID() is deprecated, will be removed soon. Use global $USER.", E_USER_WARNING);

		global $USER;
		return $USER->GetID();
	}
	return $this->GetParam("USER_ID");
}