Get all non-admin groups in confluence plugin

rambabu patina
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.
January 19, 2018

Programmatically, How can we get all the groups list which has global non-admin access in the confluence. Please post me any code snippet that would be helpful to me.

1 answer

1 accepted

0 votes
Answer accepted
rambabu patina
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.
January 24, 2018

Using SpacePermissionManager class we can get all the groups and the groups which has global permissions with "ADMINISTRATECONFLUENCE" and "SYSTEMADMINISTRATOR".

Just we can exclude the admins groups from all the groups.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events