I have a custom addressbook built into a c#.net app. My users have gone into Sharepoint and have connected/linked the contact list there into their outlook. They would like for these Sharepoint Contact lists to show up in our custom addressbook app, but I can’t find a way to access that particular data.
I was hoping that there would be some LDAP path or EWS call that I could make to get these Sharepoint contact lists.
I’ve thought about looking at sharepoint directly via the API to get the contact list data, but I still wouldn’t know if they have actually added those lists to their outlook or not.
The configuration of a SharePoint connection is stored in the folder asssociated items table of the inbox folder. See http://www.infinitec.de/post/2011/07/13/Enumerating-Sharepoint-Connections-in-a-mailbox-with-EWS.aspx for a sample on how to enumerate them.