• Модуль: main
  • Путь к файлу: ~/bitrix/modules/main/lib/access/user/usermodel.php
  • Класс: BitrixMainAccessUserUserModel
  • Вызов: UserModel::getName
public function getName(): string
{
	if ($this->name === null)
	{
		if ($this->userId === 0)
		{
			$this->name = '';
			return $this->name;
		}

	}
	return $this->name;
}