bool CUser::IsAuthorized()
The method IsAuthorized checks if the site visitor has been authorized (usually called from the $USER object). Returns true if the user is authorized, or false otherwise.
No parameters.
<? global $USER; if ($USER->IsAuthorized()) echo "You are authorized!"; ?>
© 2001-2005 Bitrix | Bitrix Site Manager - Content Management & Portal Solutions |