Help with User Group assignment in AEM ADODBE CQ
We have a requirement in our project wherein user creation in AEM ADOBE CQ happens through webservices.
The URL used for Group Assignment is as below:
In this case, whenever we provision a user with "Admin" user group, it is successful.
However in case the Group name starts with any letter other than "a" (for ex: hiking-admins), this does not get assigned to user as the group name starts with "h"
I have zero knowledge in java. I would like to know if we can write a code wherein the group is picked up based on run time value?
For ex: if it is hiking-admins group, it goes to H folder and then search for hiking-admins and assign to user
Thanks & Regards,