Add a User to a DL present in GAL.

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I want to add a user to a DL present in GAL. I was trying (but unsuccessfull.
I get an error "This operation is not supported by this object") using CDO.
The CDO 1.2.1 documentation says "add" is not supported.

Is there a workaround? Thanks.

---Documentation Notes---
NOTE: Although you can use CDO to retrieve information from the Global
Address List (GAL), you cannot use CDO to add, change, or delete Distribution
Lists or Users in the GAL.
---Documentation Notes End---
 
Use the Outlook Object Model instead. Try the DistListItem object with the
AddMember method.
 
That's for DLs in Outlook contacts folders. Sounds like K.N. has an Active Directory DL, which means Outlook is out, ADSI is in.

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
Yes, u r right "Sounds like K.N. has an Active Directory DL". My DL is in
Active Directory (I am connecting to an Exchange server. I assume the DL
entry shown in outlook, retrieved exchange server, is stored in active
directory).

I am currently looking at ADSI as my option. Nothing fruitfull yet. If you
have any pointers do let me know. Thanks in advance.

-K.N.Ganesh
 
Back
Top