only give example for 1 roles, same with the liv docs and blah blah blah
---------- Original Message ----------------------------------
From: Stan Winchester <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Date: Sat, 02 Oct 2004 22:36:43 -0400
>Look in the CFMX Bible if you have it, if you don't then get it! It's a GREAT book!
>
>>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]

