Hi, Tony, you have either to inject the UserManager (always the interface!) into your method header, or get it via info.magnolia.objectfactory.Components - see https://wiki.magnolia-cms.com/display/DEV/Concept+IOC+in+Magnolia and subpages.
E.g. [code] UserManager userManager = Components.getComponent(UserManager.class); User user = userManager.getUser(username); [/code] Regards, Jozef. -- Context is everything: http://forum.magnolia-cms.com/forum/thread.html?threadId=9bb68f11-e557-400c-9284-def0bfadf314 ---------------------------------------------------------------- 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]> ----------------------------------------------------------------
