portals-jetspeed-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Sean Taylor <da...@bluesunrise.com>
Subject Re: Accessing User Data
Date Mon, 14 Apr 2008 23:14:00 GMT

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: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org


Mime
View raw message