Search code examples
mapioutlook-redemption

Global Address list using Outlook Redemption


I am using GetAddressList to access Address List as given here: https://bytes.com/topic/c-sharp/answers/238320-session-addressbook-doesnt-find-my-address-lists

But it take more time if there are 500 or more users. Is there any fastest method to retrieve Address List. How can I retrieve Address List using Redemption.MAPITable object ?

Thanks


Solution

  • You can use RDOAddressList.AddressEntries.MAPITable.
    You can create an instance of the RDOSession object, set its MAPIOBJECT property to Namespace.MAPIOBJECT from OOM, then retrieve RDOAddressList using either RDOSession.GetRDOObjectFromOutlookObject or RDOSession.GetAddressListFromID.