Expand my Community achievements bar.

SOLVED

Remove Groups from a User programatically

Avatar

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

Avatar

Correct answer by
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

Avatar

Correct answer by
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...