...
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 |
Checks if the user has the given property set. |
Checks if the user has the given property set.
Parameters
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)
Returns true if the user has the given property set and false otherwise.
Example
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 = " |
---|
|
...
...
routines" and space = currentSpace ( ) | labels |
---|
|
...
We've encountered an issue exporting this macro. Please try exporting this page again later.