开发者

retrieve details of users from the exchange server

I am using exchange server 2007 (outlook) to configure email accounts..

How can we re开发者_JAVA百科trieve the details of the users (mailboxes) present on the exchange server.

This feature is there in outlook. By double clicking the id and checking details.

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


You can use either the Web Services part of the Exchange SDK or the newer Web Services Managed API to gather info or do just about anything Outlook can do (see this chart for the differences). Both links given should lead you to how-to's, reference pages, and example code to help you get started.


If you want to query the Global Address List (GAL), there are several methods. In OWA (thus, HTTP protocol) there's a command called "galfind" (example code here; reference here). Or you can use ADSI to search the GAL. Or there's CDO or MAPI, but I would steer away from those if possible.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜