GetLastName
string CUser::GetLastName()
The method returns the last name of the authorized user (usually called from the $USER object). Non-static method.
Parameters
No parameters.See Also
- CUser fields
- CUser::GetID
- CUser::GetLogin
- CUser::GetEmail
- CUser::GetFullName
- CUser::GetFirstName
- CUser::GetParam
- CUser::GetUserGroupArray
- CUser::GetUserGroupString
Examples of use
<? global $USER; echo "[".$USER->GetID()."] (".$USER->Login().") ".$USER->GetFirstName()." ".$USER->GetLastName(); ?>
© «Bitrix24», 2001-2024