• Модуль: disk
  • Путь к файлу: ~/bitrix/modules/disk/lib/showsession.php
  • Класс: BitrixDiskShowSession
  • Вызов: ShowSession::getUser
public function getUser()
{
	if(!$this->userId)
	{
		return null;
	}

	if(isset($this->user) && $this->userId == $this->user->getId())
	{
		return $this->user;
	}
	$this->user = User::loadById($this->userId);

	return $this->user;
}