简体   繁体   English

Outlook如何从Exchange Server获取地址列表?

[英]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.

相关问题 Outlook帐户-如何获取Exchange电子邮件地址? - Outlook Accounts - How to get the Exchange Email address? Outlook Exchange Office 365:如何从访问令牌获取电子邮件地址? - Outlook Exchange Office 365: How to get email address from access token? 如何从交易所获取所有通讯组列表 - How to get all distribution lists from exchange 如何从Outlook Exchange Server(C#)获取约会的约会正文? - How to get appointment body text for an appointment from outlook exchange server(EWS),c#? 如何使用 Windows 登录的用户名和密码访问 Outlook Exchange Server? - How to access Outlook Exchange Server with Username and Password from Windows Login? C# VSTO Outlook 插件 - 如何使用传出 Z0C83ZEFA57C7831CEB7B24 获取发送方的 email 地址? - C# VSTO Outlook plugin - How can I get the email address of the sender of an outgoing email using Exchange? 如何从Exchange Server获取联系人列表? - How to get contact list from Exchange Server? 如何从LegacyExchangeDN地址获取交换用户? - How can I get exchange user from LegacyExchangeDN address? 如何在C#中使用Exchange Web服务获取地址列表(非全局) - How do I get address lists (NOT global) using Exchange WebServices in C# 如何获取发件人Outlook / Exchange的SMTP地址 - How to get the SMTP Adress of the sender outlook / Exchange
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM