Lucas,
That is illegal, you can only specify one role to check at a time.
<cfif isUserInRole("admin")>
Wee are an admin
<cfelseif isUserInRole("user")>
We are a user
</cfif>
Regards
Andrew Scott
Analyst Programmer
CMS Transport Systems
Level 2/33 Bank Street
South Melbourne, Victoria, 3205
Phone: 03 9699 7988 - Fax: 03 9699 7976
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Lucas
Sent: Thursday, 14 July 2005 11:56 AM
To: CFAussie Mailing List
Subject: [cfaussie] isUserInRole madness
Hi All,
it may have been the birthday party last night or somthing but today i
think I am going mad.
LiveDocs
(http://livedocs.macromedia.com/coldfusion/7/htmldocs/wwhelp/wwhimpl/common/
html/wwhelp.htm?context=ColdFusion_Documentation&file=part_cfm.htm)
says that isUserInRole() supports passing in a list of roles but...
isUserInRole("admin") appears to work
but
isUserInRole("admin,user") does not
can someone check that their CFMX7 server does the same thing?
thanks,
Lucas.
---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to
[EMAIL PROTECTED]
Aussie Macromedia Developers: http://lists.daemon.com.au/
---
You are currently subscribed to cfaussie as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]
Aussie Macromedia Developers: http://lists.daemon.com.au/