When you say you don't store contacts, locally, I assume you mean your
mailbox's Contacts folder is empty.

However, you use Active Directory for your employee lists.

If this is true, then you should use CFLDAP rather than CFEXCHANGE.
Since Exchanges uses AD as the source of all user accounts, AD is where
you should look.

If you have setup different Address Book lists, then you can find that
information using CFLDAP as well.

The LDAP attribute you want is "showInAddressBook".  That attribute will
return a DN for each address list you created.

If you search (CFLDAP) for any users within a particular address list,
by specifying the DN of the address list, you will get a query object of
all users that have that attribute value set.

In other words, perform a CFLDAP query for users.  The filter attribute
should contain something like this:

CFLDAP FILTER="showInAddressBook=CN=All Users,CN=All Address
Lists,CN=Address Lists Container,CN=MyOrg,CN=Microsoft
Exchange,CN=Services,CN=Configuration,DC=domain,DC=com"

Copy and run the code from this page:
http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?catid=7&thr
eadid=1400638

This will show you the attribute values for showInAddressBook.  It makes
it easier to know what values CFLDAP would expect.

If you need a better example, let me know.

Mike

-----Original Message-----
From: Dan Vega [mailto:[EMAIL PROTECTED] 
Sent: Friday, October 24, 2008 10:16 AM
To: cf-talk
Subject: cfexchange

I am just starting to play around with cfexchange because I have not
really needed it up until now. I see its pretty easy to get a list of
contacts using the following code.

    <cfexchangeconnection action="open"
connection="myExchangeConnection"
      server="*************"
      username="*************"
      password="*************" />

    <cfexchangecontact action="get" name="myContacts"
connection="myExchangeConnection" />
    <cfexchangeconnection action="close"
connection="myExchangeConnection"
/>

    <cfdump var="#myContacts#">

However I do not store any contacts locally. When I click to we have
lists of employees based on company, location and department. Is there
anyone to interact with these lists as it would be easier for me to grab
all employees at once. I don't know much about exchange so forgive my
ignorance.


Thank You
Dan Vega
[EMAIL PROTECTED]
http://www.danvega.org

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314345
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
  • cfexchange Dan Vega
    • RE: cfexchange Dawson, Michael

Reply via email to