The GetAddressList method returns an AddressList object from a directory service.
Set objAddressList = objSession.GetAddressList(ObjectType)
The GetAddressList method returns the default address list of the specified type for the default directory service of the current session.
The ObjectType parameter can have exactly one of the following values:
ObjectType setting | Value | Default Address list retrieved |
---|---|---|
CdoAddressListGAL | 0 | Global address list |
CdoAddressListPAB | 1 | Personal address book |