This class is used to update a user in the repository.
Properties¶
$contentMetadataUpdateStruct¶
The update structure for the profile meta data.
|
|
$contentUpdateStruct¶
The update structure for the profile content.
|
|
$email¶
If set the email address is updated with this value.
|
|
$enabled¶
Flag to signal if user is enabled or not If set the enabled status is changed to this value.
|
|
$fields¶
|
|
$maxLogin¶
Max number of time user is allowed to login If set the maximal number of logins is changed to this value.
|
|
$password¶
If set the password is updated with this plain password.
|
|
Methods¶
__construct() ¶
Construct object optionally with a set of properties.
|
|
Readonly properties values must be set using $properties as they are not writable anymore after object has been created.
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$properties | array<string|int, mixed> | [] | - |
setField() ¶
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$fieldDefIdentifier | string | - | - |
$value | mixed | - | - |
$language | string|null | null | - |
getProperties() ¶
Function where list of properties are returned.
|
|
Used by attributes(), override to add dynamic properties
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$dynamicProperties | array<string|int, mixed> | [] |
Additional dynamic properties exposed on the object |
Return values
array<string|int, mixed>