On Apr 11, 2008, at 1:24 PM, Dan Olsen 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


The portlet api, just like the servlet api,  has a call "isUserInRole" :

http://www.bluesunrise.com/portlet-api/javax/portlet/PortletRequest.html#isUserInRole(java.lang.String)


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to