Reputation: 411
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
Upvotes: 0
Views: 179
Reputation: 66215
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.
Upvotes: 1