"[EMAIL PROTECTED]" wrote : Manui- | | Are your roles specified in the portlet.xml and correspondingly available in the roles table in the portal. | | | Can u post your portlet.xml and jboss-portlet.xml as well. | | | Thanks | Sohil Hi Sohil in the admin panel I've inserted the role and I can view in the DB. my portlet.xml is: <portlet-app version="1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/portlet" xmlns="http://java.sun.com/xml/ns/portlet"> <portlet-name>I18nPortlet</portlet-name> <portlet-class>org.eu.myheart.portlets.I18nPortlet</portlet-class> <portlet-info> I18nPortlet </portlet-info> <mime-type>text/html</mime-type> <portlet-mode>VIEW</portlet-mode> <user-attribute> user.name.nickName </user-attribute> <user-attribute> user.business-info.online.email </user-attribute> <user-attribute> user.name.given </user-attribute> <user-attribute> user.name.family </user-attribute> <user-attribute> portal.user.locale </user-attribute> <user-attribute> portal.user.signature </user-attribute> <user-attribute> portal.user.last-login-date </user-attribute> </portlet-app> and my jboss-portlet.xml <portlet-app> <portlet-name>I18nPortlet</portlet-name> <service-name>UserModule</service-name> <service-class>org.jboss.portal.identity.UserModule</service-class> <service-ref>:service=Module,type=User</service-ref> </portlet-app> Question: 1. there is a user attribute tag to obtain the role of the user?? 2. I've also declared the use of the Usermodule, how I can get the role...? thanks very much manuel
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3980955#3980955 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3980955 _______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
