I'm writing a REST API call to determine the number of active Confluence users. To do this, I need to differentiate LDAP users from those in the internal directory. How would I do that?
I have not been able to find or hack a REST API call that will return the user directory the user belongs to. I tried the . dot notation and expand query parameter mentioned in Confluence REST API Documentation but was not able to retrieve user directories or a list of more than one user.
If you have access to the Confluence database you may get a list of active users and their directories using the queries on this page:
The results look like:
If you find a way to get the information you seek with REST, please post it here to help the next person who needs a list like this.
This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.Read more
Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs