简体   繁体   中英

programmatically change data on Exchange Server

I would like to know what is the possibilities to programmatically change data on Exchange Server?

with Exchange Web Service (EWS) can I (change means add/edit/delete):

  • change data on Exchange Server for other users?
  • 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

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.).

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. 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 . 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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM