Go to the MS Site and download the ADSI SDK. It as many examples on how and where to do it.
It Works very well. With it you may create, delete and modify mailbox's and Distribution Lists. You may deal with User Accounts and other objects (Groups, Printers, queues, Services...) in Win NT (4 or 2K), Exchange (5.5, 2k) and a few other App. Concerning other object's than Exchange Mailbox's or DL's is better be carefuly with what you do! As Ed already said, With ADSI (or whatever you use) you don't change the GAL, you change the object's that "flood" it. António José E Cabrita DSI - Gestão Operacional de Rede Av. Casal Ribeiro, 59 - 1º Telefone : 21 318 11 52 Ext. 451152 -----Original Message----- From: Bansal, Mani (Contractor) [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 13, 2002 5:49 PM To: Exchange Discussions Subject: RE: Modify GAL using ADSI I know it is not a good idea to modify GAL. but still if it is required, can we do that programmatically using ADSI or some other APIs? By modify here I mean with Add and delete too. Thanks. -----Original Message----- From: Woodrick, Ed [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 13, 2002 10:46 AM To: Exchange Discussions Subject: RE: Modify GAL using ADSI The GAL is automatically created. Modifying it wouldn't really be a great idea. Actually the GAL is a LDAP query. -----Original Message----- From: Bansal, Mani (Contractor) [mailto:[EMAIL PROTECTED]] Posted At: Wednesday, March 13, 2002 12:44 PM Posted To: Microsoft Exchange Conversation: Modify GAL using ADSI Subject: Modify GAL using ADSI Has anyone worked on modifying(ADD/DELETE/update) GAL using ADSI APIs? I am sure that we can modify GAL using ADSI but anybody knows if we can add or delete an address into it too. all suggestions are welcome. Regards, Mani _________________________________________________________________ List posting FAQ: http://www.swinc.com/resource/exch_faq.htm Archives: http://www.swynk.com/sitesearch/search.asp To unsubscribe: mailto:[EMAIL PROTECTED] Exchange List admin: [EMAIL PROTECTED] _________________________________________________________________ List posting FAQ: http://www.swinc.com/resource/exch_faq.htm Archives: http://www.swynk.com/sitesearch/search.asp To unsubscribe: mailto:[EMAIL PROTECTED] Exchange List admin: [EMAIL PROTECTED] _________________________________________________________________ List posting FAQ: http://www.swinc.com/resource/exch_faq.htm Archives: http://www.swynk.com/sitesearch/search.asp To unsubscribe: mailto:[EMAIL PROTECTED] Exchange List admin: [EMAIL PROTECTED] _________________________________________________________________ List posting FAQ: http://www.swinc.com/resource/exch_faq.htm Archives: http://www.swynk.com/sitesearch/search.asp To unsubscribe: mailto:[EMAIL PROTECTED] Exchange List admin: [EMAIL PROTECTED]