Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Fetching all the spaces a user has permissions to in Confluence

troy
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 25, 2013

Hi,

Is there any kind of query or admin functionality to find out all the spaces that a particular user has access to?

1 answer

0 votes
Matthew J. Horn
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 25, 2013

You can write a user macro to do this. You use code like this to get the groups for the current user:

## Macro title: Get Groups For User

## Developed by: Matthew J. Horn

## Date created: 09/26/2013

## @noparams

$userAccessor.getGroupNamesForUserName($req.remoteUser)

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events