[英]How does Outlook get the address lists from Exchange Server?
We try to get the same Address Lists that Outlook shows. 我们尝试获取与Outlook显示相同的地址列表。
As of now, we get the Address Lists using an expanded version of Henning Krause's Searching the Global Address List . 到目前为止,我们使用Henning Krause的Searching the Global Address List的扩展版本来获取地址列表 。 This worked well during the last year, with on-premise deployments.
在过去的一年中,通过本地部署,此方法运行良好。
Now if you use cloud services, this does not work. 现在,如果您使用云服务,则将无法使用。 The local AD and the cloud AD are synchronized somehow, and they are not trusted.
本地AD和云AD以某种方式同步,并且不受信任。 The local AD does contain Exchange schema (the users have msExch... properties set), but it doesn't contain Address Lists, or at least not where the script would like it to be.
本地AD确实包含Exchange模式(用户设置了msExch ...属性),但是它不包含地址列表,或者至少不包含脚本希望的位置。
However, using some builtin magic, Outlook can get the Address Lists, while the script cannot. 但是,使用一些内置的魔术,Outlook可以获取地址列表,而脚本则不能。
So, how does Outlook get the Address Lists? 那么,Outlook如何获取地址列表?
Outlook uses the same API as for the stores - RPC over HTTP or MAPI over HTTP to connect to the AB services on the remote computer. Outlook使用与商店相同的API-通过HTTP的RPC或通过HTTP的MAPI来连接到远程计算机上的AB服务。 It does not use AD API.
它不使用AD API。
Is using Outlook Object Model an option? 使用Outlook对象模型是一种选择吗?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.