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