Remove Groups from a User programatically | Community
Skip to main content
divyak96999766
Level 2
Apr 17, 2018 11:51 AM UTC
Solved

Remove Groups from a User programatically

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?

Thanks,

Divya

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
smacdonald2008
smacdonald2008Accepted solution
Level 10
Apr 17, 2018 12:48 PM UTC

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

Group (Apache Jackrabbit 2.6.10 API)

Hope this helps...

1 reply

smacdonald2008
smacdonald2008Accepted solution
Level 10
Apr 17, 2018 12:48 PM UTC

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

Group (Apache Jackrabbit 2.6.10 API)

Hope this helps...

Translate