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

		global $USER;
		return $USER->GetSecondName();
	}
	return $this->GetParam("SECOND_NAME");
}