It can take a list, but it works as an AND (the user needs ALL the roles
in the list). If you want OR, there was a simple IsUserInAnyRole() UDF
by Raymond Camden I believe.

Pascal

> -----Original Message-----
> From: Alex Sherwood [mailto:[EMAIL PROTECTED]
> Sent: 02 February 2005 14:54
> To: CF-Talk
> Subject: isUserInRole takes multiple roles?
> 
> Question:
> 
> Does the inUserInRole() function take a list of roles or a single
role?
> 
> The Complete ColdFusionMX Reference has an example where multiple
roles
> are passed in, but I cannot get it to work. I find it hard to believe
> that they would publish an example that would be incorrect (an not due
> to a typo).
> 
> Thanks,
> 
> --
> Alex Sherwood
> Director, Internet Services
> PHS Collection Agency
> Phone: 813-283-4579
> Web: www.phs-net.com
> 
> 
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:192755
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to