Retrieve user information from the exchange server

I am using Exchange Server 2007 (Outlook) to set up email accounts.

How to get information about users (mailboxes) present on the Exchange server.

This feature exists in Outlook. Double-click the identifier and verify the data.

But how can this be done programmatically? (using c #)

+4
source share
1 answer

You can use either part of the Exchange SDK Web Services or the new Managed Web Services API to collect information or do whatever Outlook can do (see this graph for differences). Both of these links should lead you to how-to's help pages and sample code to help get you started.


If you want to request a global address list (GAL), several methods . OWA (thus the HTTP protocol) has a command called "galfind" ( sample code here ; link here ). Or you can use ADSI to search the GAL . Either there is a CDO or a MAPI, but I would have avoided them if possible.

+1
source

Source: https://habr.com/ru/post/1313544/


All Articles