> I'm using cflogin to authenticate users on a site.  Is there a way to
return the roles that a user is in (i.e. the roles that are passed 
> in using CFLOGINUSER)?  I'm using a very hackish method of looping
through all of the roles for a site and using isuserinrole() to 
> determine this, but was hoping that there was a more elegant solution.

Apparently not. You'll probably need to put something in the SESSION
scope to keep track of that.

IsUserInRole() does accept a comma-delimited list of roles, if that
helps.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:274442
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to