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

Mohd Abdul Aleem
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!
January 22, 2019

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

0 votes
Amith Mathur _Appfire_
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.
February 5, 2019

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
AUG Leaders

Atlassian Community Events