Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Section
Column
Column

Excerpt
hiddentrue

List users by group script

Section

How to use

Example scripts can be used in one of 3 different ways:

Tip
titleUse caching

Recommend using the Cache Macro to improve performance of these types of scripts.

column
Column
Info
titleSourceView source

userByGroup.bsh

Info
titleRequirements
  1. SCRP 4.3 or above
  2. Confluence 4.2 or above
Info
title
Section
Tested

This script (latest version in Bitbucket) is tested during release testing using GINT

Section

Column
ParameterRequiredDefaultDiscussion
groupName(error)

All groups
not setIf not set, all groups/users will be shown. Specifying groupName restricts output to a single group

All users in confluence-

users

administrators

No Format
{beanshell:output=wiki|script=#https://bitbucket.org/bob_swift/examples/raw/tip/confluence/beanshell/userByGroup.bsh|groupName=confluence-

users

administrators} 
{beanshell}

Image Modified

All groups

No Format
{beanshell:output=wiki|script=#usersbygroup.bsh} 
{beanshell}

 

...