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
  • Payal's avatar
    7 years ago

    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,