On Wed, 02 Feb 2005 08:53:31 -0500, Alex Sherwood <[EMAIL PROTECTED]> wrote: > Does the inUserInRole() function take a list of roles or a single role?
It can take a list - see: http://livedocs.macromedia.com/coldfusion/6.1/htmldocs/funct142.htm > The Complete ColdFusionMX Reference has an example where multiple roles > are passed in, but I cannot get it to work. Bear in mind that it checks the user is in *all* of the roles: <cfif isUserInRole("admin,hr")> ... only true if user has BOTH roles ... </cfif> If user is just an admin or just an HR person, that test will be false. That tends to surprise people. -- Sean A Corfield -- http://www.corfield.org/ Team Fusebox -- http://www.fusebox.org/ Breeze Me! -- http://www.corfield.org/breezeme Got Gmail? -- I have 50, yes 50, invites to give away! "If you're not annoying somebody, you're not really alive." -- Margaret Atwood ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:192758 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