Syntax
groupExists getAllGroups()
Description
Excerpt |
---|
Gets all groups in Confluence. |
Parameters
None
Return type
String []
Returns an array of group name strings.
Example 1
Code Block |
---|
return groupExists("confluence-users") |
...
getAllGroups(); |
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) | ||||||||
---|---|---|---|---|---|---|---|---|
|