i cant ever find anything that tells how to check for more than 1 acceptable roles

so, say there are 2 roles (admin, user) and both can access the same pages
would it be?

<!--- check to see if user is logged in --->
<cfif NOT IsUserInRole('admin') OR NOT IsUserInRole('user')>
<cflocation url="" addtoken="no">
<cfabort>
</cfif>

i cant find any docs that give any info on it
tia
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Reply via email to