Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

Recognition

  • Give kudos
  • My kudos

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

How to list users who are counted towards the Crowd License using Rest API

Requirement: I need to derive no of users who are counted towards license for Crowd.

 

Apps structure in crowd: 

Currently we have 2 applications defined in crowd namely App1 & App2.

Also we have 2 directories created as well, dir1 and dir2.

Both the directories are mapped to both the applications in the same order.

Now I have created two groups "grp1" & "grp2", one in each directory respectively and added some users in each group.

Now in "Who can authenticate" section of "app1", I have mapped "grp1" under 

"dir1" and under "dir2", "grp2" has been mapped.

The same goes for "app2" as well, in "who can authenticate" section for "app2", I have mapped grp1" under "dir1" and under "dir2", "grp2" has been mapped.

 

Now I need to fetch the no of users who are counted towards license from the above setup using rest API's.

Can anyone list out any Rest end point available in crowd for achieving this requirement or maybe can even point out the approach to be used using the existing crowd Rest Api's.

Any help would be appreciated.

1 answer

Hi @Mohd Abdul Aleem

One of the ways to retrieve the count, is running the database query against the Crowd Database. You can review this page, which has queries to list users who are counted towards the Crowd License. 

Thanks,
Amith Mathur 

Suggest an answer

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

Share your Confluence Cloud experience for a chance to win $500!

Take our 5-minute survey to win a $500 Visa gift card! Are you currently using Confluence Cloud? We want to hear from you! Fill out this quick survey about your Confluence Cloud experience so we ...

139 views 1 8
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