The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

Code that lists all users that have access to a space?

Carlos Figueroa
August 25, 2011

I have searched through various forums and such and cannot find how to do this. I would like to add code to a page that basically then will list every user that has access to that space. Preferably, it could also give other attributes of the user, but if all I get is a listing of names, that would be sufficient.

2 answers

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Answer accepted
Bob Swift
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 Champions.
August 25, 2011
Carlos Figueroa
August 25, 2011

Bob, the space-access macro is the same one that Matthew tried to show me how to add. I followed the instructions, but to no avail... http://confluence.atlassian.com/display/DISC/Space+access

Bob Swift
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 Champions.
August 26, 2011

No, it is not a user macro. Here is a better link: Page Access Macro

0 votes
MatthewC
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 Champions.
August 25, 2011

Hello,

I presume that you want a list of users that anyone can see?

you could write a user macro with the reporting plugin:

http://confluence.atlassian.com/display/DISC/Space+access

MatthewC
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 Champions.
August 25, 2011

BTW be careful with this.... if you have lots of users & have open spaces it can be a bit of a resource hog

Carlos Figueroa
August 25, 2011

Thanks Matthew. I followed the instructions on the link you gave me, but it did not work. But thanks, I know I am getting closer...

MatthewC
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 Champions.
August 25, 2011

Have you go the reporting plugin installed? https://plugins.atlassian.com/plugin/details/186

Carlos Figueroa
August 25, 2011

Yes, I do. But it still gives some kind of error.

Benny Varughese
March 27, 2012

I tried this as well and have a question. Does this macro returns all users over all spaces? I tried this out in different spaces and seems to me like the result is the same

TAGS
AUG Leaders

Atlassian Community Events