Create System User using Runmode with ACS Commons in AEM | AEM Community Blog Seeding

Avatar

Avatar
Establish
Community Manager
kautuk_sahni
Community Manager

Likes

1,200 likes

Total Posts

6,394 posts

Correct reply

1,147 solutions
Top badges earned
Establish
Coach
Originator
Contributor 2
Contributor
View profile

Avatar
Establish
Community Manager
kautuk_sahni
Community Manager

Likes

1,200 likes

Total Posts

6,394 posts

Correct reply

1,147 solutions
Top badges earned
Establish
Coach
Originator
Contributor 2
Contributor
View profile
kautuk_sahni
Community Manager

10-08-2020

BlogImage.jpg

Create System User using Runmode with ACS Commons in AEM by AEM Solutions

Abstract

In order to create a system user using runmode (sling:OsgiConfig) with acs-commons, create a config as below.
1. Create a sling:OsgiConfig under /apps/project-name/config/com.adobe.acs.commons.users.impl.EnsureServiceUser-customServiceUser.xml
2. Add the below code in config file.

Once you deploy the code , you can see the system user created in your useradmin with the name you specified in the config file.

Note: You can make modifications as needed.

Read Full Blog

Create System User using Runmode with ACS Commons in AEM

Q&A

Please use this thread to ask the related questions.