I'm just questionning about the cf tag cfloginuser attribute "roles". Roles has a "s" 
meaning that I can put many roles for a user. I try to put myseft this set of roles in 
the user table...

user_tbl.nickname ='stef' 
user_tbl.role        1 = 'user, user2'  2= 'user; user2'   3= 'user user2'  

the login.cfc is doing...

    <cflogin idletimeout="#request.Session_Elapsed_TimeSS#">
     <cfloginuser name="#user_tbl.nickname#" password="#user_tbl.password#" 
     roles="#user_tbl.role#">


and when I try to call the method below...

   <cffunction name="MailList" access="remote" returnType="query"  roles="user2"

and CF gives me... Current user was not authorized to invoke this method

How can I make a user has many roles! and be able to execute the CFC methods that 
belongs to these roles.. I don't want to have to create many user ids to go everywhere 
in our site... Stef has an user... StefAdmin has an Administration of our site... etc..

Thanks

Stephane






~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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

Get the mailserver that powers this list at 
http://www.coolfusion.com

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

Reply via email to