GAL List

  • Thread starter Thread starter Peter
  • Start date Start date
P

Peter

Is there a way to get the email address list from Global Address Book using
Active Directory or some other method without Outlook or
any other COM program? Outlook displays the dialog box when you
try to access an email address, and that gets annoying really fast. I am
converting an Outlook Form to C# program, because of the problems with
Outlook / CDO
new security features and I need to display the Global Address List for the
user. An example of how to get a list of Active Directory users will do the
trick for me also.


Thank you

Peter
 
Peter,

If you want to get a list of Active Directory users, then you can use
the classes in the System.DirectoryServices namespace to query the AD store.

However, I doubt that there will be any way to get around the security
features of Outlook. The whole purpose of those features is to prevent
outside programs from accessing functionality in Outlook without knowledge
of the person. Granted, I find it annoying as well at times.

Hope this helps.
 
Thank you for such a quick answer. I will check out the
System.DirectoryServices.

I understand about the reason for the security, but my biggest problem is
that the Outlook forms that used to work fine now don't work only for some
people and I don't have access to those machines. (They are all running the
same version of Outlook)


Nicholas Paldino said:
Peter,

If you want to get a list of Active Directory users, then you can use
the classes in the System.DirectoryServices namespace to query the AD store.

However, I doubt that there will be any way to get around the security
features of Outlook. The whole purpose of those features is to prevent
outside programs from accessing functionality in Outlook without knowledge
of the person. Granted, I find it annoying as well at times.

Hope this helps.


--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

Peter said:
Is there a way to get the email address list from Global Address Book using
Active Directory or some other method without Outlook or
any other COM program? Outlook displays the dialog box when you
try to access an email address, and that gets annoying really fast. I am
converting an Outlook Form to C# program, because of the problems with
Outlook / CDO
new security features and I need to display the Global Address List for the
user. An example of how to get a list of Active Directory users will do the
trick for me also.


Thank you

Peter
 

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

Back
Top