Hi,
Does anyone know how to search the Global Address Book on the exchange server? It seems the 'Address Book' is different to a public contact list, hence this popular example code (or similar) points to a completely different set of contacts:
Outlook.Application app = new Outlook.Application();
Outlook._NameSpace olNS = app.GetNamespace("MAPI");
Outlook._Folders oFolders = olNS.Folders;
Outlook.MAPIFolder oContactsFolder = olNS.Folders["Public Folders"].Folders["All Public Folders"].Folders["Contacts"];
I need to search for a specific contact name. PS:- I'm using outlook 2007. Many Thanks...