使用 c# .NET 从 Exchange 2003 访问日历信息
我正在尝试在 C#.NET 中创建一个预订系统,该系统将在 MSQL 数据库中存储预订,同时还将预订添加到相关用户的交换日历中。
创建新约会时,我希望它检查用户及其交换日历的可用性。 如果可用,它将在 .NET 系统中预订日期,并添加一个交换条目。
是否可以将 .NET 与 Exchange 2003 集成?
系统需要访问 5 个用户的日历并查找他们的可用性,是否可以设置为允许使用系统用户帐户或为此目的创建的新帐户进行此操作?
I am trying to create a booking system in C#.NET that will store bookings within a MSQL database but also add the bookings to the exchange calendar of the relevant user.
When a new appointment is created I want it to check the availabiity of users with their exchange calendars. If they are available it will book a date in the .NET system and also add an entry to exchange.
Is it possible to integrate .NET with exchange 2003?
The system would need to access 5 users calendar's and find their availability, could it be setup to allow this using a system user account or a new account created for this purpose?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我已经使用 Exchange Web 服务在 Exchange 2007 上成功完成了此操作,在 google 上快速搜索表明它们在 Exchange 2003 中可用。
您必须安装/启用 Web 服务,设置一个对其他帐户具有模拟权限的帐户用户。
然后,您使用服务绑定连接到 Web 服务,该服务绑定使用这些主凭据并模拟其他用户。 我在 MSDN 站点中找到了所需的所有示例。
更新:抱歉,我所说的服务似乎是 2007 年推出的。
I have done this successfully with Exchange 2007 using the Exchange Web Services, which a quick search on google suggests they are available in Exchange 2003.
You have to install/enable the web services, setup an account in exchange that has impersonation rights on the other users.
Then you connect to the web service using a service binding that uses those master credentials and impersonates the other user. I found all the examples I needed in the MSDN site.
Update: Looks like the services I am talking about were introduced with 2007, sorry.