Bitrix Site Manager

CUser::GetLogin

string
CUser::GetLogin()

The method GetLogin returns the login of the currently authorized user (usually called from the $USER object).

Parameters


No parameters.

See Also

Example



<?
global $USER;
echo "[".$USER->GetID()."] (".$USER->GetLogin().") ".$USER->GetFullName();
?>