Expand my Community achievements bar.

Enhance your AEM Assets & Boost Your Development: [AEM Gems | June 19, 2024] Improving the Developer Experience with New APIs and Events

Assigning Group to User


Level 1

The objective is to add users to a group that has administrator privileges using Java APIs.

A new group (TestAdminGrp) was created in Livecycle ES2 with the following role permissions - Services User & Super Administrator.

When trying to add a newly created user (TestAdminUser) to this group (TestAdminGrp), the following exception was thrown:

Any suggestions for resolving this error?

1 Reply


Former Community Member


Can you please post the code for fetching the user and adding the same to a group.


Amit Pugalia.