简体   繁体   English

在ASP.Net应用程序中获取Outlook Calender事件

[英]Getting Outlook Calender events in ASP.Net application

I am building an application in which i have to show a user's status whether he is available or not based on his outlook calender events. 我正在构建一个应用程序,其中我必须根据他的Outlook日历事件显示用户的状态,无论他是否有空。

For example if he has set an event of 1pm to 2pm as lunch break then during this time the user will be shown as away. 例如,如果他将下午1点到下午2点的事件设置为午休,那么在这段时间内,用户将被显示为不在。

How to read user's outlook calender events in ASP.Net? 如何在ASP.Net中读取用户的Outlook日历事件?

Also if the user is behind Microsoft Exchange Server then what difference it will make? 另外,如果用户位于Microsoft Exchange Server之后,那又会有什么不同呢?

You could use the Office 365 REST API (if your users are all on Office 365). 您可以使用Office 365 REST API (如果您的用户全部在Office 365上)。 Or you can use Exchange Web Services for any version of Exchange starting with 2007 SP1. 或者,您可以将Exchange Web Services用于从2007 SP1开始的任何版本的Exchange。 I'm not sure what you mean by the user being behind Exchange? 我不确定用户背后的Exchange是什么意思? If the data is on some other server, you'd need an API specific to that server. 如果数据在其他服务器上,则需要特定于该服务器的API。 If it isn't on a server at all (local Outlook PST data), then you can't access it via a web app. 如果根本不在服务器上(本地Outlook PST数据),则无法通过Web应用程序访问它。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM