Table plus |
---|
applyColStyleToCell | true |
---|
columnTypes | s,s,s,s |
---|
heading | 0 |
---|
multiple | false |
---|
columnAttributes | style="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold, |
---|
enableSorting | false |
---|
|
Syntax | hasUserProperty(userNameOrKey, property) | Package | | Alias | | Pkg Usage | |
|
Description
Excerpt |
---|
|
Checks if the user has the given property set. |
Checks if the user has the given property set.
...
Table plus |
---|
applyColStyleToCell | true |
---|
columnTypes | s,s,s,s |
---|
heading | 0 |
---|
multiple | false |
---|
enableSorting | false |
---|
|
Parameter name | Type | Required | Description |
---|
userNameOrKey | String | Yes | User name or key of a user to check the property for. | property | String | Yes | Key of the property to check. |
|
Return Type
Boolean (true/false)
...
Code Block |
---|
|
if (hasUserProperty("jdoe", "phone")) {
return getUserProperty("jdoe", "phone");
} |
See also
Filter by label (Content by label) |
---|
showLabels | false |
---|
max | 25 |
---|
showSpace | false |
---|
cql | label = "user_routines" and space = currentSpace ( ) |
---|
labels | array_routines |
---|
|