在EWS Managed API中,可以轻松地为特定用户创建约会:
ExchangeService service = new ExchangeService();
service.Credentials = new NetworkCredentials ( "administrator", "password", "domain" );
service.AutodiscoverUrl(emailAddress);
Appointment appointment = new Appointment(service);
appointment.Subject = "Testing";
appointment.Start = DateTime.Now;
appointment.End = appointment.Start.AddHours(1);
appointment.Save();
Run Code Online (Sandbox Code Playgroud)
这将为管理员创建约会.但是说我想实际为另一个用户创建一个约会(不要将该用户添加为我约会的参与者).这可以通过EWS Managed API实现吗?