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
SavePasswordHash
CUser::SavePasswordHash()
The method stores the special hash string in the user cookie for future automatic authorization. Different sites built on the Bitrix Site Manager always store unique hash value for the same password. This allows to avoid password hash collisions for different sites. Non-static method.
Parameters
No parameters.See Also
Examples of use
<? global $USER; if ($USER->IsAuthorized()) $USER->SavePasswordHash(); ?>
© «Bitrix24», 2001-2024
Up