如何使用 Exchange Web 服务发现 Exchange Server 的所有邮箱?
我正在使用 Exchange Web Services Managed API 1.0 访问组织中的 Exchange 服务器 (2007)。我需要迭代给定服务器上的所有邮箱。我还没有找到一种方法来获取为给定 Exchange 服务器定义的邮箱列表。我已经能够使用自动发现服务来查找特定邮箱的中心服务器的地址,但我有兴趣获取所有邮箱的列表。有人能指出我正确的方向吗?
I'm using Exchange Web Services Managed API 1.0 to access the Exchange servers (2007) in my organization. I need to iterate over all the mailboxes on a given server. I haven't seen a way to get the list of mailboxes defined for a given Exchange server. I have been able to use the AutoDiscover service to find the address of a hub server for a specific mailbox, but I'm interested in getting a list of all mailboxes. Can someone point me in the right direction?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果您的问题尚未解决,我建议您仅使用纯 LDAP 查询而不是 Exchange Web 服务。您需要的信息保存在
homeMDB
、msExchHomeServerName
以及可能的homeMTA
Active Directory 属性中。您可以从 http://www.msexchange.org/tutorials/Creating_a_list_of_Users_and_their_email_addresses_in_Exchange_2000_2 修改 LDAP 查询。 html< /a> 或 http://technet.microsoft.com /en-us/library/bb125087(EXCHG.65).aspx 接收您需要的信息。If your problem is not yet solved I would you recommend use just pure LDAP queries instead of Exchange Web Services. The information which you need are saved in
homeMDB
,msExchHomeServerName
and probablyhomeMTA
Active Directory attributes. You can modify LDAP query from http://www.msexchange.org/tutorials/Creating_a_list_of_Users_and_their_email_addresses_in_Exchange_2000_2.html or http://technet.microsoft.com/en-us/library/bb125087(EXCHG.65).aspx to receive information which you need.