Bitrix Site Manager

CUser::GetID

int
CUser::GetID()

The method GetID returns the authorized user ID (usually called from the $USER object).

Parameters


No parameters.

See Also

Example



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