Can I get the folder path with Addresslist.ID property?

S

Shelby

Hi,

Can I get the folder path with Addresslist.ID property?
I was wondering what can I do with the ID property of the Addresslist
object.

collAddressLists = oNS.AddressLists
For i = 1 To collAddressLists.Count
objAddressList = collAddressLists.Item(i)

' I would like to get the FolderPath of objAddressList
' Is it possible?
Next
 
K

Ken Slovak - [MVP - Outlook]

An address list can be a contacts folder, a GAL or a PAB. PAB's and GAL's
don't have folders. The AddressList.ID property would be used to uniquely
identify an AddressList object. It can be used from CDO 1.21 code (optional
installation for Outlook 2000 and later) to get an AddressList using the
Session.GetAddressList method.
 
Top