roled based session variables

is there anyway to dump the roles (or similar attributes) to a session variable in portal? I would like to use roles internally in one of my apps, instead of serving up 2 slightly different versions to the 2 different sets of people. Is this possible to get at that sort of information?
[300 byte] By [jbjonesjr] at [2007-11-25 22:28:29]
# 1
You can consider using the isUserInRole() method of the PortletRequest object.
nava_kris at 2007-7-5 2:37:32 > top of Java-index,Web & Directory Servers,Portal Servers...
# 2
wonderful. I will explore the internets to figure out how to use that object.
jbjonesjr at 2007-7-5 2:37:32 > top of Java-index,Web & Directory Servers,Portal Servers...