userdata(U;K)
Returns a scalar value of information about a user based on a key. The key represents a piece of data stored in a dictionary that contains information about the UID.
Syntax
userdata(U;K)
Input
| Argument | Type | Description |
|---|---|---|
U |
text | The user ID about which you would like information Note: The user ID passed to U must be the user with the current
session. No one may access user data other than that of the current ID.
|
K |
text | The key represents a specific piece of information stored in the data structure that contains information about the UID. |
Keys
The following values may be provided to the K argument of the
userdata(U;K) function.
acc_condenseacodeaddtsadduserapiautocommentcctscitycombocompanycompidcompressioncountrydata_griddisk_useddisplayhdisplaywdittodormantmindown_eordown_lastemailemaillistexcel_dlexpiredatefavoritesfirstfocusftpguiversionheightinactiveinf_to_nainf2nainf2naoldipl_cols_nlastlastlogtsmacromachmacropathmaxdownmaxrowsmaxrows_blkmaxrows_slaveminavpanelnestmacrononavoe_wrapphonepriorityprof_pic- URL to the user's profile picture
(Available as of version 10.15)
professpwdateregion_fmts_res_nsb_typeserverssexshortcutshowidssizesortcolssplitattrsplitexprstatestreett_breaks_nt_res_ntab_condensetimeouttimezonetotdisktstatrestrictuiduploadmachuploadpathuptsupuserupversionuseclinkversionwidthwsaccumwsslavewsslavesx_cbreaks_nx_rbreaks_nyearbornzip
Return Value
Returns the user information of the UID provided in the U argument
according to the key passed to the K argument.
If U is omitted, the default behavior is to return data for the current
UID.
Example
The following example creates a column named results that contains the
email address associated with the current UID.
<base table="default.lonely"/> <willbe name="results" value="userdata(;'email')"/> <colord cols="results"/>
Additional Information
- If placed in a vector expression, this function returns a vector of a single value
according to the key passed to
K.
