• Subject: Re: Adding the users to distribution list in GAL from Outlook 2007
  • Author: Ken Slovak - [MVP - Outlook]
  • Date: 02 Sep 2008
  • References: 1
You'd have to use ADSI code to write entries to the GAL, you can't do that
using Outlook object model code. Changing GAL entries or adding to a GAL DL
is a server-side operation.

Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm

"Sunil" <Sunil@discussions.microsoft.com> wrote in message
news:2FDB0610-37F7-4DE2-A4AF-FFB1FB6342D4@microsoft.com...
> Hi All,
>
> Is it possible to add the users into the distribution list in GAL from
> outlook 2007.
>
> I have tried to use the below function but did not understand the
> parameters
> needs to be paased.
>
> myRecipient.AddressEntry.Members.Add(..... )
>
> Here myRecipient is the recipient which refers to the Distribution list
> from
> GAL.
>
> The signature of the method says
> AddressEntry.Add( string Type, object Name , object Address )
>
> I feel, Type might be "EX", but not sure about the other parameters .
>
> Please let me know your thoughts.
>
> Thanks,
> Sunil
02 Sep 2008Adding the users to distribution list in GAL from Outlook 2007.Sunil
02 Sep 2008\ Re: Adding the users to distribution list in GAL from Outlook 2007.Ken Slovak - [MVP - O...
All times are in (US) Eastern Daylight Time (GMT -4:00)