Documentation

GetID

int
CUser::GetID()

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

Parameters

No parameters.

See Also

Examples of use

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


© «Bitrix24», 2001-2024