Syntax
groupExists()
Description
Excerpt |
Gets 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 | getAllGroups() | Package | | Alias | | Pkg Usage | |
|
Description
Excerpt |
---|
|
Gets a list of all groups in Confluence. |
Return type
String Gets a list of all groups in Confluence.
Return Type
String []Returns an array of group name strings.
Examples
Example 1
Code Block |
---|
|
return groupExists("confluence-users") |
...
Results: returns confluence-administrators|confluence-users
Example 2
Code Block |
---|
|
for(string g in getAllGroups()) {
runnerLog(g);
} |
Results: displays each group name on a new line
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.