Remove Groups from a User programatically | Community
Skip to main content
divyak96999766
Level 2
April 17, 2018
Solved

Remove Groups from a User programatically

  • April 17, 2018
  • 1 reply
  • 1175 views

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.
Best answer by smacdonald2008

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
April 17, 2018

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

Group (Apache Jackrabbit 2.6.10 API)

Hope this helps...