Skip to end of banner
Go to start of banner

Script - user by group (beanshell)

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

How to use

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

Use caching

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

View source

Requirements

  1. Scripting for Confluence 4.3 or above
  2. Confluence 4.2 or above

Tested

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

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

All users in confluence-administrators

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

All groups

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

  • No labels