action_="userprofile"

<do action_="userprofile"> sets or retrieves user profile data and preferences. (Available as of version 10.29)

Syntax

<dynamic info="{pkg(;)}" key_list="{lst()}"
 set_data="{pkg(;)}" changes="{lst()}">
    <do action_="userprofile" value_="@info" 
     get_="{@key_list}" 
     set_="{@set_data}" persist_="0|1"
     changedvalue_="@changes"/>
</dynamic>

Attributes for action_="userprofile"

value_
The user's profile and preference information is stored as a package in the dynamic variable associated with this attribute.

If the get_ attribute is also specified, only the keys listed in that attribute are retrieved.

The variable must be declared as a package in the opening <dynamic> tag of the QuickApp (e.g., <dynamic var_name="{pkg(;)}">).

get_
Specifies a dynamic variable whose value is a list-value consisting of the keys that are saved, along with their values, in the package variable associated with the value_ attribute.

The variable must be declared as a list-value in the opening <dynamic> tag of the QuickApp (e.g., <dynamic var_name="{lst()}">).

Note: The dynamic variable associated with this attribute may also be a comma-separated list or a dictionary, in which case the dictionary's keys are used. The dynamic variable must be appropriately declared in the opening <dynamic> tag of the QuickApp.
set_
Specifies a dynamic variable whose value is a package consisting of the key/value pairs for the user profile/preferences to set.

The package variable may only contain keys for the user profile/preferences that the user is allowed to change. In addition, the value specified for a particular key must have the appropriate type for that key.

The user's profile data is updated for the current session and persists in future sessions (unless persist_="0" is present). Only those values that are different from the user's current settings are updated.

The variable must be declared as a package in the opening <dynamic> tag of the QuickApp (e.g., <dynamic var_name="{pkg(;)}">).

persist_
Specifies whether the changes requested by the set_ attribute are persistent or apply only to the current session. Accepts a 1 or 0.

If persist_="1", the user's profile data is updated for the current session and persists in future sessions.

If persist_="0", the user's profile data is updated only for the current session.

changedvalue_
A list of the keys that were changed is stored as a list-value in the dynamic variable associated with this attribute.

The variable must be declared as a list-value in the opening <dynamic> tag of the QuickApp (e.g., <dynamic var_name="{lst()}">).

uid_
An optional parameter that allows a compadmin to modify the profile of other users in their company.

(Available as of version 19.43)