Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

Remove Groups from a User programatically

divyak96999766
Level 2
Level 2

Hello!

How can we remove groups that are assigned to a particular User programatically? I ve tried AccessControlUtil etc, but couldn't remove these Groups (converted to Principals). Do anyone have idea on how we can do this?

1467509_pastedImage_0.png

Thanks,

Divya

1 Accepted Solution
smacdonald2008
Correct answer by
Level 10
Level 10

The method to remove a user from a group is in the Group interface:

Group (Apache Jackrabbit 2.6.10 API)

Hope this helps...

View solution in original post

1 Reply
smacdonald2008
Correct answer by
Level 10
Level 10

The method to remove a user from a group is in the Group interface:

Group (Apache Jackrabbit 2.6.10 API)

Hope this helps...

View solution in original post