Hi:
I currently use this command to authenticate a user against our AD.
<cfldap action="QUERY"
name="results"
start="dc=DomainName,dc=com"
server="serveripaddress"
username="#trim(form.username)#"
password="#trim(form.password)#"
filter="cn=#uname#"
attributes="cn"
>
My IT manager wants me to now allow users to access various tasks in our web
application based upon the group the user belongs to. Can I add a filter to
the filter parameter such as "memberOf" that will return a string of all the
groups the user belongs to in the "results" query? Or would I have to use a
second follow on CFLDAP query? Would anyone be able to share an example?
Thanks in advance of any advice.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know
on the House of Fusion mailing lists
Archive:
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:330227
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4