Forum Discussion

tsrisudh's avatar
tsrisudh
Advisor
7 years ago

How to get count of users in rank

I did find an API to get count of users  in each rank.

 

Can someone help with this

  • Hi tsrisudh,

    You can use the following api to get count of users in each rank:

    SELECT count(*) FROM users WHERE rank.name = 'Community Manager'

    Thanks,