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

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list
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...