You set your roles to "admin, creative" ? Notice the space before
creative. " creative" is not equal to "creative"

========================================================================
===
Raymond Camden, ColdFusion Jedi Master for Mindseye, Inc
(www.mindseye.com)
Member of Team Macromedia (http://www.macromedia.com/go/teammacromedia)

Email    : [EMAIL PROTECTED]
Blog     : www.camdenfamily.com/morpheus/blog
Yahoo IM : morpheus

"My ally is the Force, and a powerful ally it is." - Yoda 

> -----Original Message-----
> From: Jeff Small [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, July 17, 2003 7:37 AM
> To: CF-Talk
> Subject: Can the user's role in CFLOGIN be a list?
> 
> 
> I had always thought, that if I put a column in my table 
> for users' "roles" that it could be a list, and 
> IsUserInRole() would return a true or false if the user's 
> role was contained in the role assigned in the cfloginuser 
> tag.
> 
> In other words, I had always thought you could have a role 
> column in a table with values like, "creative, admin" and 
> both of the following would return true for the same 
> person:
> IsUserInROle("creative")
> IsUserInRole("admin")
> 
> However, I can have two roles for myself, and create two 
> little areas one wrapped in an "admin" role, and another 
> wrapped in a "programmer" role, and I don't see the second 
> one.
> 
> In my table, it's stored as "admin, creative".
> On the page it's just two areas wrapped by the following:
> <cfif IsUserInRole("admin")>
> --admin stuff
> </cfif>
> <cfif IsUserInRole("creative")>
> --creative stuff
> </cfif>
> 
> But I don't see the second one. I've logged out and logged 
> back in, cleared cookies, etc. 
> 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. 
http://www.fusionauthority.com/signup.cfm

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to