Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Getting Space Owners and Email Addresses

Hello,

 

How can I get a list of Space Owners AND their email addresses?

With help from the Community I was able to to get a list of Space owners in our instance of Confluence:

(MS SQL)

SELECT s.SPACEKEY, s.SPACENAME, c.user_name, c.display_name FROM SPACES s
JOIN SPACEPERMISSIONS p ON s.SPACEID = p.SPACEID
JOIN user_mapping u ON p.PERMUSERNAME = u.user_key
JOIN cwd_user c ON u.username = c.user_name
WHERE p.PERMTYPE = 'SETSPACEPERMISSIONS'
AND s.SPACETYPE like 'global'
order by s.SPACEKEY;

I found a table called dbo.users - which has an email column.  But it is EMPTY!

 

We use Kantega SSO to sync our Ldap to Confluence.

 

Suggestions on how to get that list of Space Owners AND their email addresses in one lovely spreadsheet?

 

Thanks!

 

0 comments

Comment

Log in or Sign up to comment
TAGS
Community showcase
Published in Confluence Cloud

🏠 Say hello to the new Confluence Home!

Hi Atlassian Community, My name is DJ Chung, and I’m a Product Manager on the Confluence Cloud team. Today, I’m excited to share a new and improved version of Home. The new Home helps you ...

42,335 views 29 133
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you