1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
Класс CUser
Граф наследования:CUser:
CAllUser CDBResult CDBResultMysql CAllDBResult CAllDBResult

Дополнительные унаследованные члены

Открытые члены унаследованные от CAllUser
 __construct ()
 GetParam ($name)
 SetParam ($name, $value)
 GetSecurityPolicy ()
 GetID ()
 GetLogin ()
 GetEmail ()
 GetFullName ()
 GetFirstName ()
 GetLastName ()
 GetSecondName ()
 GetFormattedName ($bUseBreaks=true, $bHTMLSpec=true)
 Add ($arFields)
 GetUserGroupArray ()
 SetUserGroupArray ($arr)
 GetUserGroupString ()
 GetGroups ()
 RequiredHTTPAuthBasic ($Realm="Bitrix")
 LoginByCookies ()
 LoginByHash ($login, $hash)
 LoginByHttpAuth ()
 LoginByDigest ($arDigest)
 LoginHitByHash ($hash, $closeSession=true, $delete=false, $remember=false)
 UpdateSessionData (Authentication\Context $context, $onlyActive=true)
 Authorize ($context, $bSave=false, $bUpdate=true, $applicationId=null, $onlyActive=true)
 LoginAs (int $userId)
 Login ($login, $password, $remember='N', $password_original='Y')
 LoginByOtp ($otp, $remember_otp='N', $captcha_word='', $captcha_sid='')
 AuthorizeWithOtp ($user_id, $bSave=false)
 ChangePassword ($LOGIN, $CHECKWORD, $PASSWORD, $CONFIRM_PASSWORD, $SITE_ID=false, $captcha_word='', $captcha_sid=0, $authActions=true, $phoneNumber='', $currentPassword='')
 Register ($USER_LOGIN, $USER_NAME, $USER_LAST_NAME, $USER_PASSWORD, $USER_CONFIRM_PASSWORD, $USER_EMAIL, $SITE_ID=false, $captcha_word='', $captcha_sid=0, $bSkipConfirm=false, $USER_PHONE_NUMBER='')
 SimpleRegister ($USER_EMAIL, $SITE_ID=false)
 IsAuthorized ()
 HasNoAccess ()
 IsJustAuthorized ()
 IsJustBecameOnline ()
 IsAdmin ()
 SetControllerAdmin ($isAdmin=true)
 Logout ()
 CheckFields (&$arFields, $ID=false)
 Update ($ID, $arFields, $authActions=true)
 GetAllOperations ($arGroups=false)
 CanDoOperation ($op_name, $user_id=0)
 CanDoFileOperation ($op_name, $arPath)
 CanAccessFile (string $path, ?string $site=null)
 CanAccess ($arCodes)
 GetAccessCodes ()
 getContext ()
Открытые члены унаследованные от CDBResult
 SelectedRowsCount ()
 AffectedRowsCount ()
 FieldsCount ()
 FieldName ($iCol)
Открытые члены унаследованные от CAllDBResult
 __construct ($res=null)
 __sleep ()
 Fetch ()
 NavQuery ($strSql, $cnt, $arNavStartParams, $bIgnoreErrors=false)
 NavContinue ()
 IsNavPrint ()
 NavPrint ($title, $show_allways=false, $StyleText="text", $template_path=false)
 GetNavPrint ($title, $show_allways=false, $StyleText="text", $template_path=false, $arDeleteParam=false)
 ExtractFields ($strPrefix="str_", $bDoEncode=true)
 ExtractEditFields ($strPrefix="str_")
 GetNext ($bTextHtmlAuto=true, $use_tilda=true)
 InitNavStartVars ($nPageSize=0, $bShowAll=true, $iNumPage=false)
 NavStart ($nPageSize=0, $bShowAll=true, $iNumPage=false)
 DBNavStart ()
 InitFromArray ($arr)
 NavNext ($bSetGlobalVars=true, $strPrefix="str_", $bDoEncode=true, $bSkipEntities=true)
 GetPageNavString ($navigationTitle, $templateName="", $showAlways=false, $parentComponent=null)
 GetPageNavStringEx (&$navComponentObject, $navigationTitle, $templateName="", $showAlways=false, $parentComponent=null, $componentParams=[])
 SetUserFields ($arUserFields)
Открытые статические члены унаследованные от CAllUser
static GetDropDownList ($strSqlSearch="and ACTIVE='Y'", $strSqlOrder="ORDER BY ID, NAME, LAST_NAME")
static GetList ($by='', $order='', $arFilter=[], $arParams=[])
static IsOnLine ($id, $interval=null)
static GetSubordinateGroups (int $userID=null)
static UpdateDigest ($ID, $pass)
static AddHitAuthHash ($url, $user_id=false, $site_id=false, $ttl=null)
static GetHitAuthHash ($urlMask, $userID=false, $siteId=null)
static CleanUpHitAuthAgent ()
static LoginInternal (&$arParams, &$result_message=true, $context=null, &$error=[])
static GeneratePasswordByPolicy (array $groups)
static CheckPasswordAgainstPolicy ($password, $arPolicy, $userId=null)
static SendUserInfo ($ID, $SITE_ID, $MSG, $bImmediate=false, $eventName="USER_INFO", $checkword=null)
static SendPassword ($LOGIN, $EMAIL, $SITE_ID=false, $captcha_word='', $captcha_sid=0, $phoneNumber='', $shortCode=false)
static getLogoutParams ($deleteParms=[])
static GetUserGroup ($ID)
static GetUserGroupEx ($ID)
static GetUserGroupList ($ID)
static CheckInternalFields ($arFields, $ID=false)
static GetByID ($ID)
static GetByLogin ($LOGIN)
static SetUserGroup ($USER_ID, $arGroups, $newUser=false)
static AppendUserGroup ($userId, $groups)
static RemoveUserGroup (int $userId, array $groups)
static GetCount ($maxCount=0)
static Delete ($ID)
static GetExternalAuthList ()
static GetGroupPolicy ($iUserId)
static getPolicy ($userId)
static CheckStoredHash ($context, $hash, $tempHash=false)
static GetFileOperations ($arPath, $arGroups=false)
static UserTypeRightsCheck ($entity_id)
static CleanUpAgent ()
static DeactivateAgent ()
static UnblockAgent ($userId)
static GetActiveUsersCount ()
static SetLastActivityDate ($userId=null, $cache=false)
static SetLastActivityDateByArray ($arUsers, $ip=null)
static GetSecondsForLimitOnline ()
static GetExternalUserTypes ()
static GetOnlineStatus ($userId, $lastseen, $now=false)
static FormatLastActivityDate ($timestamp, $now=false)
static SearchUserByName ($arName, $email='', $bLoginMode=false)
static FormatName ($NAME_TEMPLATE, $arUser, $bUseLogin=false, $bHTMLSpec=true, $enabledEmptyNameStub=true)
static clearUserGroupCache ($ID=false)
static AuthActionsCleanUpAgent ()
static GeneratePhoneCode ($userId)
static VerifyPhoneCode ($phoneNumber, $code)
static SendPhoneCode ($phoneNumber, $smsTemplate, $siteId=null)
Открытые статические члены унаследованные от CAllDBResult
static NavStringForCache ($nPageSize=0, $bShowAll=true, $iNumPage=false)
static GetNavParams ($nPageSize=0, $bShowAll=true, $iNumPage=false)
Поля данных унаследованные от CAllUser
const STATUS_ONLINE = 'online'
const STATUS_OFFLINE = 'offline'
const PHONE_CODE_OTP_INTERVAL = 30
const PHONE_CODE_RESEND_INTERVAL = 60
const PASSWORD_SPECIAL_CHARS = ',.<>/?;:\'"[]{}\|`~!@#$%^&*()_+=-'
 $LAST_ERROR = ''
Поля данных унаследованные от CAllDBResult
 $result
 $arResult
 $arReplacedAliases
 $arResultAdd
 $bNavStart = false
 $bShowAll = false
 $NavNum
 $NavPageCount
 $NavPageNomer
 $NavPageSize
 $NavShowAll
 $NavRecordCount
 $bFirstPrintNav = true
 $PAGEN
 $SIZEN
 $SESS_SIZEN
 $SESS_ALL
 $SESS_PAGEN
 $add_anchor = ""
 $bPostNavigation = false
 $bFromArray = false
 $bFromLimited = false
 $nPageWindow = 5
 $nSelectedCount = false
 $arGetNextCache = false
 $bDescPageNumbering = false
 $arUserFields = false
 $usedUserFields = false
 $SqlTraceIndex = false
 $DB
 $NavRecordCountChangeDisable = false
 $is_filtered = false
 $nStartPage = 0
 $nEndPage = 0
 $resultObject = null
Защищенные члены унаследованные от CAllUser
 setStoredAuthCookies ($login, $hash, $save)
Защищенные члены унаследованные от CDBResult
 FetchRow ()
 GetRowsCount ()
 Seek (int $offset)
Защищенные члены унаследованные от CAllDBResult
 FetchInternal ()
 calculatePageNumber (int $defaultNumber=1, bool $useSession=true, bool $checkOutOfRange=false)
 AfterFetch (&$res)
Защищенные статические члены унаследованные от CAllUser
static blockUser ($userId, $blockTime, $loginAttempts)
static GetCurrentGroups (int $userId)
static SendEmailCode ($userId, $siteId)
static clearTagCache (int $ID, bool $realUser, array $fields=null)
Защищенные данные унаследованные от CAllUser
 $admin
 $context
 $justAuthorized = false
Защищенные данные унаследованные от CDBResult
 $byteaFields = false
Статические защищенные данные унаследованные от CAllUser
static $kernelSession
static $CURRENT_USER = false
static $userGroupCache = []

Подробное описание

См. определение в файле user.php строка 6036


Объявления и описания членов класса находятся в файле:
  • C:/bitrix/modules/main/classes/general/user.php