Info |
---|
|
This routine is available starting with SIL Engineā¢ 3.0.0. Table plus |
---|
applyColStyleToCell | true |
---|
heading | 0 |
---|
columnTypes | s,s,s,s |
---|
multiple | false |
---|
columnAttributes | style="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold, |
---|
enableSorting | false |
---|
|
Syntax | hasUserProperty(user, 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.
Parameters
Table plus |
---|
applyColStyleToCell | true |
---|
columnTypes | s,s,s,s |
---|
heading | 0 |
---|
multiple | false |
---|
enableSorting | false |
---|
|
Parameter name | Type | Required | Description |
---|
user | String | Yes | Username or userkey to check the property for. | property | String | |
...
Yes | Key of the property to check. |
|
Return
...
Type
booleanBoolean
Returns "true" if the user has the given property set and "false" otherwise.
...
Code Block |
---|
if(hasUserProperty("testuser", "phone")) {
return getUserProperty("testuser", "phone");
} |
...
Note |
---|
The look-up is first made after the userkey, then after the username. |
See also
Filter by label (Content by label) |
---|
showLabels | false |
---|
max | 15025 |
---|
showSpace | false |
---|
cql | label = "jira_user_routine" and space = currentSpace ( ) |
---|
labels | jiraarray_user_routineroutines |
---|
|