Bitrix Site Manager

CUser::GetLastName

string
CUser::GetLastName()

The method GetLastName returns the last name of the authorized user (usually called from the $USER object).

Parameters


No parameters.

See Also

Example



<?
global $USER;
echo "[".$USER->GetID()."] (".$USER->Login().") ".$USER->GetFirstName()." ".$USER->GetLastName();
?>