AnsweredAssumed Answered

how to remove all users in a given group

Question asked by nick.l on Aug 26, 2013
Latest reply on Aug 26, 2013 by kaynezhang
hi guys,

I want to remove all users in a group, given I don't know who are currently in this group.

If I know the user, I can use following code to remove him from group:

accessControlService.removeChildAuthorities(groupId, new String[] {userId()});

But the problem is I don't know who are in this group.

Any idea?

Outcomes