Hi,

Try this:

Iterator roles = JetspeedRoleManagement.getRoles(rundata.getJetspeedUser().getUserName());

MaciekD



Hi,

Please could someone supply some sample code on how to retrieve what roles a
user belongs to.

I need to be able to determine this in either the init () or the
getContent() methods as this will determine what html page to display in the
portlet.

Many thanks in advance.


Regards

Rob Shorney
PDS - Local Government - Front Office Development Team
Northgate Information Solutions

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

Reply via email to