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
BedrockMission!

Learn More

View all

Sign in to view all badges

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,128 likes

Total Posts

6,133 posts

Correct Reply

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

Avatar
Establish
Community Manager
kautuk_sahni
Community Manager

Likes

1,128 likes

Total Posts

6,133 posts

Correct Reply

1,144 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.

AEM AEMEBlogSeeding Experience Manager