Is that even possible? At least from AEM 6.1 and onward
Solved! Go to Solution.
Views
Replies
Total Likes
To create a system user in AEM involves doing it manually - as discussed in this article:
https://helpx.adobe.com/experience-manager/using/querying-experience-manager-sling.html
You cannot create a system user via the User Manager API either.
Hope this helps.
Views
Replies
Total Likes
To create a system user in AEM involves doing it manually - as discussed in this article:
https://helpx.adobe.com/experience-manager/using/querying-experience-manager-sling.html
You cannot create a system user via the User Manager API either.
Hope this helps.
Views
Replies
Total Likes
Please have a l look at following CURL commands:-
// Link:- https://hashimkhan.in/2015/05/27/aem-with-curl/
curl -u admin:admin -FcreateUser= -FauthorizableId=hashim -Frep:password=hashim http://localhost:4502/libs/granite/security/post/authorizables |
curl -u admin:admin -FcreateGroup=group1 -FauthorizableId=testGroup1 http://localhost:4502/libs/granite/security/post/authorizables |
curl -u admin:admin -Fprofile/age=25 http://localhost:4502/home/users/h/hashim.rw.html |
1 | curl -u admin:admin -FcreateUser=testuser -FauthorizableId=hashimkhan -Frep:password=hashimkhan -Fprofile/gender=male http://localhost:4502/libs/granite/security/post/authorizables |
curl -u admin:admin -FcreateUser=testuser -FauthorizableId=testuser -Frep:password=abc123 -Fmembership=contributor http://localhost:4502/libs/granite/security/post/authorizables |
curl -u admin:admin -FaddMembers=testuser1 http://localhost:4502/home/groups/t/testGroup.rw.html |
curl -u admin:admin -FremoveMembers=testuser1 http://localhost:4502/home/groups/t/testGroup.rw.html |
curl -u admin:admin -Fmembership=contributor -Fmembership=testgroup http://localhost:4502/home/users/t/testuser.rw.html |
curl -u admin:admin -FdeleteAuthorizable= http://localhost:4502/home/users/t/testuser
curl -u admin:admin -FdeleteAuthorizable= http://localhost:4502/home/groups/t/testGroup |
curl -u testuser:OLD_PWD -F rep:password=”NEW_PWD” http://localhost:4502/home/users/t/testuser.rw.html
curl rep:password=”test” –user admin:admin http://localhost:4502/home/users/a/alister@geometrixx.com4502/home/users/a/alister@geometrixx.com |
Adding more reference links:
Link:- https://gist.github.com/joemaffia/dd55e4c43a24c4948e8d
Link:- http://www.aemcq5tutorials.com/tutorials/adobe-cq5-aem-curl-commands/
I hope this would help you.
~kautuk
Views
Replies
Total Likes
As Kautuk pointed out - you can create an AEM user via CURL - however - not a system user.
Views
Replies
Total Likes
This worked for me.
curl -u <admin_username>:<admin_password> http://localhost:<aem_port>/crx/explorer/ui/usereditor_list.jsp -H 'Content-Type: multipart/form-data' -H 'Referer: http://localhost:<aem_port>/crx/explorer/ui/usereditor_list.jsp' -F Path=/home/users -F action_ops=create -F FormEncoding=UTF-8 -F uid=<service_user_name> -F createModus=8
Views
Replies
Total Likes
Views
Replies
Total Likes
Views
Replies
Total Likes
Views
Replies
Total Likes
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies