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

	$this->user = UserModel::loadById($this->entityId);
	if(!$this->user)
	{
		$this->user = SystemUser::create();
	}

	return $this->user;
}