How to retrieve all the licensed groups in Global Permissions using Java api?

As an admin I want to retrieve all the licensed groups which are listed in the Confluence Global Permissions. I can able to retrieve only default groups using ‘UserAccessor’ via java api, but I need to retrieve all the other licensed groups. I am doing this for reporting purpose. Please let me know if anyone tried this before?

Even I can able to get the default group using ‘Settings’ object via java api but didn’t find anything to get the other licensed groups.

  • Note - this is for Confluence server
1 Like