简体   繁体   English

以编程方式更改Exchange Server上的数据

[英]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)(更改意味着添加/编辑/删除):

  • change data on Exchange Server for other users? 为其他用户更改Exchange Server上的数据?
  • change Global Address List? 更改全局地址列表?

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: 我不会在此处粘贴代码,因为它没有任何意义,只是在这里,如果您有兴趣,可以提供链接:

Impersonation 假冒

Creating appointment 建立约会

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.

相关问题 在服务器端以编程方式更改报告的SSRS数据源 - Change SSRS data source of report programmatically in server side c#以编程方式从Exchange服务器读取电子邮件 - c# programmatically reading emails from the Exchange server 以编程方式从Exchange Server 2010邮箱中读取电子邮件 - Programmatically reading emails from Exchange Server 2010 mailbox SQL Server如何与Web表单交换数据 - How does SQL Server exchange data with a webform 客户端-服务器数据交换格式 - client-server data exchange format 以编程方式更改SQL Server配置 - Programmatically change SQL Server configuration 如何在Windows 2008服务器和Linux服务器之间交换数据 - How to exchange data between a windows 2008 server and a linux server 无法以编程方式使用MS Exchange Server 2010 SP2的Web服务发送电子邮件 - Can not programmatically send email using web service of MS Exchange Server 2010 SP2 如何以编程方式从C#Web应用程序在Exchange 2007服务器上添加邮箱别名? - How to programmatically add mailbox alias on an Exchange 2007 server from C# web app? 服务器 - C#,客户端 - 闪存,数据交换协议 - Server - C#, Client - Flash, data exchange protocol
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM