【发布时间】:2012-03-31 03:32:38
【问题描述】:
你好。我想知道我的用户的 Exchange 服务器的地址(假设她在典型的 Windows 办公网络中)。这是在 C# 应用程序中。
我已经有了用户的电子邮件地址,在引用 System.DirectoryServices.AccountManagement
后,我在System.DirectoryServices.AccountManagement.UserPrincipal.Current.EmailAddress 找到了它
【问题讨论】:
-
Exchange server 2007 和 2010 附带 Autodiscover -- 不确定它是否适用于您的方案。
标签: c# .net windows exchange-server directoryservices