Add a User to a DL present in GAL.

K

K.N.Ganesh.

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---
 
E

Eric Legault [MVP - Outlook]

Use the Outlook Object Model instead. Try the DistListItem object with the
AddMember method.
 
S

Sue Mosher [MVP-Outlook]

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
 
K

K.N.Ganesh.

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top