...
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 | userGroups(userName) | Package | | Alias | | Pkg Usage | | |
Description
Excerpt |
---|
|
Returns the groups where the selected user belongs. |
Returns the groups where the selected user belongs.
Parameters
Table plus |
---|
applyColStyleToCell | true |
---|
columnTypes | s,s,s,s |
---|
heading | 0 |
---|
multiple | false |
---|
enableSorting | false |
---|
|
Parameter name | Type | Required | Description |
---|
userName | |
...
String | Yes | User name of the user to get groups for. |
|
Return
...
Type
stringString []
Returns an array of groups where the selected user belongs.
Example
Code Block |
---|
|
string[] groups = userGroups("jdoe"); |
Returns all groups that the "jdoe" user belongs to.
See also
Filter by label (Content by label) |
---|
showLabels | false |
---|
max | 25 |
---|
showSpace | false |
---|
cql | label = "psuser_conf"routines" and space = currentSpace ( ) |
---|
labels | jiraarray_comment_routineroutines |
---|
|