Użytkownik Shorney, Rob napisał:
How do I get the description of the role, at present I have the following in the getContent() method of the protlettry { Iterator roles = JetspeedRoleManagement.getRoles(runData.getUser().getUserName()); while (roles.hasNext()) { tr = (org.apache.turbine.om.security.TurbineRole) roles.next(); text.append("role = " + tr.getName()); text.append("<br>"); } } catch (org.apache.jetspeed.services.security.JetspeedSecurityException jse) { which displays the following role = org.apache.jetspeed.om.security.turbine.TurbineRole@1f role = org.apache.jetspeed.om.security.turbine.TurbineRole@7c Regards Rob Shorney PDS - Local Government - Front Office Development Team Northgate Information Solutions ---------------------------------------------------------------------------- --------
Hi,
Try to use org.apache.jetspeed.om.security.BaseTurbineUser instead of org.apache.turbine.om.security.TurbineRole
MaciekD
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
