[英]programmatically change data on Exchange Server
I would like to know what is the possibilities to programmatically change data on Exchange Server? 我想知道在Exchange Server上以编程方式更改数据的可能性是什么?
with Exchange Web Service (EWS) can I (change means add/edit/delete): 我可以使用Exchange Web Service(EWS)(更改意味着添加/编辑/删除):
if not, how I can do that programmatically? 如果没有,我该如何以编程方式做到这一点?
we have a system that we need to make it communicate with Exchange Server to do different tasks, related to calendar, email, GAL 我们有一个系统,需要使它与Exchange Server通信以执行与日历,电子邮件,GAL有关的不同任务
what is the best practice and approach I should think about? 我应该考虑的最佳实践和方法是什么?
cheers 干杯
I dont't know what about GAL, but surely You can manage users calendars(adding meeting,s adding taksks, ...) and emails(reading, sending etc.). 我不知道GAL,但是可以肯定的是,您可以管理用户日历(添加会议,添加taksk,...)和电子邮件(阅读,发送等)。
To manage other user accounts You have to enable impersonation. 管理其他用户帐户必须启用模拟。
Some time ago I wrote two posts on my blog how to impersonate Exchange Service Binding and how to add an appointment to any users calendar in Exchange. 不久前,我在博客上写了两篇文章,介绍了如何模拟Exchange服务绑定以及如何向Exchange中的任何用户日历添加约会。 I won't paste the code here because it makes no sense, just here You have links if You're interested:
我不会在此处粘贴代码,因为它没有任何意义,只是在这里,如果您有兴趣,可以提供链接:
But now it's easier way to achieve the same results as above, but with less lines of code thanks to Exchange Web Services Managed API 1.1 SDK . 但是,现在有了更简单的方法来获得与上述相同的结果,但是由于使用了Exchange Web服务托管API 1.1 SDK ,因此代码行更少。 So, if You want to enable communication with excahnge You should read more about this API and see if it suits You and Your demands.
因此,如果要启用与Excange的通信,则应阅读有关此API的更多信息,并查看它是否适合您和您的要求。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.