i want to create a user in aem with user manager api from java application. i have used below code for connectivity aem.
Repository myRepo = JcrUtils.getRepository(path);
javax.jcr.Session repoSession = myRepo.login(new SimpleCredentials(“admin”, “admin”.toCharArray()));
but there is method i.e “getUserManager” in JackrabbitSession interface which does not invoked with session.
JackrabbitSession is child interface of session.
then how to call method with jcr.session so that we can create user in aem
i want to create user in aem with java application.
Parkash Singh is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.