WebDAV 和 Exchange Server - 在过去 X 天内修改联系人?

发布于 2024-08-08 03:20:20 字数 191 浏览 3 评论 0原文

我有一个 PHP 应用程序,它连接到 Microsoft Exchange 服务器以通过 WebDAV 检索“联系人”。

我是否可以向 Microsoft Exchange 发出 WebDAV 查询,以仅获取过去 X 天内更改或添加的联系人?

与每次查询所有 30 个联系人并为每条记录执行检查/更新/插入操作相比,处理起来要容易一些。

I have a PHP application which connects to Microsoft Exchange server to retrieve 'Contacts' via WebDAV.

Is there a WebDAV query I can issue to Microsoft Exchange to get only contacts that have been changed or added within the last X days?

It'd be a bit easier to deal with than querying for all 30 bajillion contacts every time and doing the check/update/insert thing for every record.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

2024-08-15 03:20:20

您可能想查看该网站上的优秀示例。 http://www.troywolf.com/articles/php/exchange_webdav_examples.php。它们是关于如何使用 PHP 通过 WebDAV 访问 Exchange 的很好的参考。他甚至还有一个关于搜索联系人的功能,http://www.troywolf.com /articles/php/exchange_webdav_examples.php#search_contacts,但没有提及包含您感兴趣的约束字段的确切字段,所以我会帮助您。

搜索 Exchange 存储 (http://msdn.microsoft。 com/en-us/library/aa123573(EXCHG.65).aspx) 是一个很好的起点。您具体要寻找的是指定日期范围 http ://msdn.microsoft.com/en-us/library/aa123600(EXCHG.65).aspx 详细说明了使用 dav:creationdate 字段的语法。

有关 DAV 命名空间的更多信息,请访问 http://msdn.microsoft.com/ en-us/library/aa565717.aspx 以及。

祝你好运!

You might want to check out the excellent examples at this website. http://www.troywolf.com/articles/php/exchange_webdav_examples.php. They're great reference on how to access Exchange via WebDAV using PHP. He even has one on searching for contacts, http://www.troywolf.com/articles/php/exchange_webdav_examples.php#search_contacts, but doesn't mention the exact field that contains the field you're interested in constraining on, so I'll help you out.

Searching the Exchange store (http://msdn.microsoft.com/en-us/library/aa123573(EXCHG.65).aspx) is a great starting place. What you're looking for specifically is Specify a Date range http://msdn.microsoft.com/en-us/library/aa123600(EXCHG.65).aspx which spells out the syntax for using the dav:creationdate field.

There's more information on the DAV namespace here http://msdn.microsoft.com/en-us/library/aa565717.aspx as well.

Good luck!

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文