与 .NET 中的 Exchange 通信
我想使用 Exchange 电子邮件组作为内部应用程序的身份验证方案。 IE,如果用户位于某个邮件组中,则允许他们进入。有关
从 .NET 与 Exchange 通信的何处查找信息的指示?
编辑:交换2003。
I would like to use Exchange e-mail groups as an authentication scheme for an internal app. IE, if a user is in a certain mailing group, they are allowed in.
Any pointers on where to look for information with talking with Exchange from .NET?
EDIT: Exchange 2003.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
您不需要与 Exchange 本身对话。 所有数据都存储在 Active Directory 中,该目录在 .NET 框架内具有非常易于使用的 API。 Exchange 电子邮件组作为全局通讯组存储在 AD 中。 您所需要做的就是询问用户是否是特定组的成员。
You don't need to talk to Exchange itself. All of the data is stored in Active Directory which has very simple to use APIs within the .NET framework. Exchange e-mail groups are stored in AD as global distribution groups. All you need to do is ask if the user is a member of a specific group.
您确定要对通讯组执行此操作吗? 从长远来看,将这些通讯组转变为安全组并使用 Windows 身份验证不是更易于管理吗?
Are you sure you want to do this with distribution groups? Wouldn't it be more manageable in the long run to turn those distribution groups into security groups, and use Windows authentication?
如果您有 Exchange 2007,您可以使用 Web 服务界面从 .NET 与 Exchange 进行通信。
不过我还没有使用过这个接口,所以我不确定它是否适合你的场景。
否则恐怕您必须使用旧的 MAPI/COM 库。
If you have Exchange 2007 you could use the web service interface to talk to Exchange from .NET.
I haven't used this interface yet though, so I'm not sure whether it is suitable for your scenario.
Otherwise I'm afraid that you must use the old MAPI/COM libraries.
Exchange 2003 支持 webdav 界面。 您可能想看一下它,看看它是否支持您所需要的。 这里有一个用于 Exchange 库的 WebDav .Net:
http://www.independentsoft.de/webdavex/index.html
查看更多信息这里:
使用 WebDAV 访问 Exchange 2003 Inbox
Exchange 2003 supports a webdav interface. You might want to take a look at it to see if it supports what you need. There is a WebDav .Net for Exchange library here:
http://www.independentsoft.de/webdavex/index.html
see more info here:
Using WebDAV to access Exchange 2003 Inbox