General Introduction
Features
Settings
Email system
Date and Time
URL rewrite
Special constants
Special variables
Complex logic in filter
Add
Authorize
CanDoFileOperation
ChangePassword
Delete
GetAnonymousUserID
GetByID
GetByLogin
GetCount
GetEmail
GetExternalAuthList
GetFirstName
GetFullName
GetID
GetLastName
GetList
GetLogin
GetParam
GetPasswordHash
GetUserGroup
GetUserGroupArray
GetUserGroupList
GetUserGroupString
IsAdmin
IsAuthorized
IsOnLine
Login
LoginByHash
Logout
Register
SavePasswordHash
SendPassword
SendUserInfo
SetLastActivityDate
SetParam
SetUserGroup
SetUserGroupArray
SimpleRegister
Update
IsAuthorized
bool CUser::IsAuthorized()
The method checks if the site visitor has been authorized (usually called from the $USER object). Returns true if the user is authorized, or false otherwise. Non-static method.
Parameters
No parameters.See Also
Examples of use
<? global $USER; if ($USER->IsAuthorized()) echo "You are authorized!"; ?>
© «Bitrix24», 2001-2024
Up