【问题标题】:php-ews: Access shared calendars?php-ews:访问共享日历?
【发布时间】:2014-11-12 19:20:18
【问题描述】:

使用php-ews:https://github.com/jamesiarmes/php-ews

我可以根据这个例子列出我自己日历中的事件:https://github.com/jamesiarmes/php-ews/wiki/Calendar:-Get-List-(Retrieving-Id-and-ChangeKey) 但是在搜索了几个小时的解决方案后,我仍然无法找到访问共享日历的方法。

这个问题类似,但没有答案:EWS: Access shared calendars

通过查看该结果和其他各种搜索结果(我在 Google 上搜索了“ews 共享日历”的许多变体),我必须找到共享日历的位置,获取 ID,然后使用它。但我无法做到这一点。有人可以帮忙吗?

【问题讨论】:

  • 查看您正在使用的交易所账户的账户权限。我知道如果帐户具有模拟权限,您可以使用模拟路由。

标签: php exchangewebservices php-ews


【解决方案1】:

仅查看“日历文件夹”下的代码块中添加此内容以便从 email@address.com 的日历中检索事件:

$request->ParentFolderIds->DistinguishedFolderId->Mailbox = new StdClass;
$request->ParentFolderIds->DistinguishedFolderId->Mailbox->EmailAddress = 'email@address.com';

【讨论】:

  • 这对我有用,谢谢。建议@L42 接受这个答案。
猜你喜欢
  • 2011-05-12
  • 1970-01-01
  • 2014-07-09
  • 2017-02-16
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多