portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Fletcher, Boyd C. J9C534" <Boyd.Fletc...@je.jfcom.mil>
Subject Getting a user's role in Velocity
Date Fri, 09 Jan 2004 07:24:11 GMT
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-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org


Mime
View raw message