且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

获取特定用户的所有日历事件

更新时间:2023-11-30 10:23:22

在这里回答我自己的问题,但答案是通过模拟.我很早就遇到过模仿,但乍一看并不是我想要的,但是在仔细阅读之后,这似乎正是我所需要的.

Answering my own questions here but the answer is through impersonation. I had come across impersonation early but at first glance it wasn't what I was looking for but after reading more carefully it seems to be exactly what i need.

有关模拟的MSDN文章

我将让服务器管理员设置一个具有模拟权限的帐户,然后通过其用户名/地址连接到每个帐户,并使用

I'll have the server admin set up an account with impersonation permissions then connect to each account through their username/address and pull the calendar data I need with the GetUserAvailability method.