Hi everyone, i want to automatically create a user and add it to a role with java code in a module.
I was reading of how to do it in Magnolia 4.5 and earlier, but now classes and methods like Security or SecuritySupport.Factory are deprecated for version 5.1. I was just reading the javadocs and there is a method called "createUser" in info.magnolia.cms.security.MgnlUserManager but i dont know how to get the instance of this UserManager. -- Context is everything: http://forum.magnolia-cms.com/forum/thread.html?threadId=32d53d4c-ba93-4170-90ba-51903b7d257a ---------------------------------------------------------------- For list details, see http://www.magnolia-cms.com/community/mailing-lists.html Alternatively, use our forums: http://forum.magnolia-cms.com/ To unsubscribe, E-mail to: <[email protected]> ----------------------------------------------------------------
