As I mentioned in a former Question it is no problem to get shared contacts in Outlook via MAPI. But this is only possible, if you know the Users/Recipients sharing contacts (or also calendar) with the Current Outlook User.
Now back to my question: How can I get a list of Recipients sharing their contacts with me?
With the list I would do a foreach creating the Recipients and than access the shared folder.
// Get recipients
IList<string> recipientsSharingContacts = **???** ;
// Import/Read shared contacts
foreach (string recip in recipientsSharingContacts){
// Open Shared Folder
MAPIFolder sharedContactsFolder =
Application.Session.GetSharedDefaultFolder(recip, OlDefaultFolders.olFolderContacts)
// Import Contacts
...
}
Hope someone can help me out.