Taking a stab at this, so anyone feel free to correct me if I'm wrong. It looks like you could get access to the RoleManager using something similar to this:
RoleManager manager = (RoleManager) getPortletContext().getAttribute(CommonPortletServices.CPS_ROLE_MANAGER_COMPONENT); Once you're there, the RoleManager has a method named getRolesForUser that takes the username as an argument and returns a collection of the roles for that user. I'm relatively new at the portal development so don't quote me on this quite yet :) good luck! On Fri, Apr 11, 2008 at 4:24 PM, Dan Olsen <[EMAIL PROTECTED]> wrote: > I am using Spring to develop portlets. I would like to be able to find out > what roles a user has so that I can display the appropriate information in > the portlet. What is the best way to get access to all the users > information? > > - Dan > -- Brad Gardner
