This method allows to update the currently logged in user.
This method is deprecated and will be removed in the future. Please use instead.
Parameters
The property must not be defined. Only the passed properties will be updated, all others will remain unchanged.
Additionally to the , the method accepts the following parameters.
Examples
Renaming the current user
Rename the current user to John Doe.
Request:
- {
- "jsonrpc": "2.0",
- "result": {
- "userids": [
- ]
- },
- "id": 1
- }
Source
CUser::update() in frontends/php/include/classes/api/services/CUser.php.