Link to home
Start Free TrialLog in
Avatar of jwatkins706
jwatkins706

asked on

Viewing members of Distributed List in container

When I make an LDAP connection to Microsoft Exchange I can see all users.  What I want to do is see members of a Distributed List within Exchange.  My code to see all users is:

<cfldap server="my.server"
action="query"
name="getDeptChair"
attributes="cn,mail,sn,telephonenumber,givenname,location,department,title,physicalDeliveryOfficeName"
start="dc=ngtc, dc=org"
username="xxxxx"
scope="subtree"
password="xxxxxx"
filter="objectcategory=person">
ASKER CERTIFIED SOLUTION
Avatar of LegendZM
LegendZM
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of jwatkins706
jwatkins706

ASKER

Although that is a good article it will not fit what I need.  I am trying to get the members of the distribution list into a dropdown list on a webpage.  The code needs to fit within following.  The filter "memberOf" does not work

<cfldap server="my.server.org"
action="query"
name="getDeptChair"
attributes="cn,mail,sn,telephonenumber,givenname,location,department,title,physicalDeliveryOfficeName"
start="dc=ngtc, dc=org"
username="myusername"
scope="subtree"
password="mypassword"
filter="memberOf=cn=Department Chairpersons">