Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table plus
applyColStyleToCelltrue
columnTypess,s,s,s
heading0
multiplefalse
columnAttributesstyle="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold,
enableSortingfalse

Syntax

getAllGroups()

Package

Alias

Pkg Usage

Description

Excerpt
hiddentrue

Gets a list of all groups in Confluence.

Gets a list of all groups in Confluence.

Return Type

String []

Examples

Example 1

Code Block
languagejs
return getAllGroups();

Results: returns confluence-administrators|confluence-users

Example 2

Code Block
languagejs
for(string g in getAllGroups()) {
    runnerLog(g);
}

Results: displays each group name on a new line

See also

Filter by label (Content by label)
showLabelsfalse
max25
showSpacefalse
cqllabel = "group_routines" and space = currentSpace ( )
labelsarray_routines
We've encountered an issue exporting this macro. Please try exporting this page again later.