General Introduction
Settings
Add
Authorize
CanDoFileOperation
ChangePassword
Delete
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
Complex logic in filter
Special variables
Special constants
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-2023
Up