To use the Sling API to query AEM resources that belong to a CUG, you have to use an AEM System user that meet these requirements:
- belongs to the CUG
- has read permissions to the AEM resources
For example, consider the following AEM page resouces that are children pages to /content/geometrixx/en/toolbar/contacts.
To read this development article, click https://helpx.adobe.com/experience-manager/using/querying-experience-manager-sling-cug.html.
Adobe Digital Marketing Community
Join the Adobe Digital Marketing Community. Start by clicking this banner