try following these instructions:
http://wiki.jboss.org/wiki/PortletLogin
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4178037#4178037
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4178037
___
Hi,
I am trying to customize the user profile identity portlet and want to hide and
show fields based on the user's roles. I've already modified profile.xhtml and
added all of the custom fields but how do I get the current user's roles? Can
I use the identity MembershipModule in the profile.