是否可以使用具有管理员凭据的EWS获取所有邮箱名称? [英] Is it possible to get all mailboxes names using EWS with Administrator credentials?

查看:97
本文介绍了是否可以使用具有管理员凭据的EWS获取所有邮箱名称?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


解决方案

没有EWS是用于访问邮箱的API,EWS仅限于解析名称和扩展通讯组列表的通讯簿/目录功能。用于获取林/域/ ou或服务器中的所有邮箱的最佳方法是使用Exchange命令行管理程序cmdlet,例如来自C#http://blogs.technet.com/evand/archive/2008/04/01/using-c-to- get-to-multivaluedproperty.aspx 否则您应该直接通过System.DirectoryService查看LDAP并查询全局目录服务器以获取邮箱信息。

欢呼橙格林>

Hi,

解决方案

No EWS is the API you would use to access a mailbox the address book/directory functionality that EWS is limited to resolving names and expanding distribution list. The best method to use to get all the mailboxes in forest/domain/ou or server is to use the Exchange Management Shell cmdlets such as Get-mailbox eg from C# http://blogs.technet.com/evand/archive/2008/04/01/using-c-to-get-to-multivaluedproperty.aspx otherwise you should look at using LDAP directly via System.DirectoryService and query you Global Catalogue servers for mailbox information.

Cheers
Glen


这篇关于是否可以使用具有管理员凭据的EWS获取所有邮箱名称?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆