portals-jetspeed-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brad Gardner" <bgardne...@gmail.com>
Subject Re: Accessing User Data
Date Fri, 11 Apr 2008 20:52:49 GMT
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)

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 <danrolsen@utah.gov> 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

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message