Hi Boyd, Here is a very easy approach that I use, just wrap o.a.j.services.JetpseedSecurity in a global pull tool.
Hth, *================================* | Scott T Weaver | | <[EMAIL PROTECTED]> | | Apache Jetspeed Portal Project | | Apache Pluto Portlet Container | *================================* > -----Original Message----- > From: Fletcher, Boyd C. J9C534 [mailto:[EMAIL PROTECTED] > Sent: Friday, January 09, 2004 2:24 AM > To: Jetspeed Users List; [EMAIL PROTECTED] > Subject: Getting a user's role in Velocity > > Is there a way to test if a user is in a role in a velocity template? > > something like hasRole(username,rolename). > > Also is there a list of the functions and data structures availbale to > Velocity? I.e. the $!user > > thanks, > > boyd > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]