You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-user@portals.apache.org by "Fletcher, Boyd C. J9C534" <Bo...@je.jfcom.mil> on 2004/01/09 08:24:11 UTC

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: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org