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
SetParam
CUser::SetParam( string name, mixed value )
The method sets the value of the user-defined param_name parameter to be stored in the authorization session (usually called on the $USER object). You can get the parameter value later by calling CUser::GetParam parameter. Non-static method.
Parameters
Parameter | Description |
---|---|
name | Arbitrary parameter. |
value | Parameter value. |
See Also
Examples of use
<? global $USER; $USER->SetParam("IP_LOGIN", $_SERVER['REMOTE_ADDR']); ?>
© «Bitrix24», 2001-2024
Up