在 EWS 托管 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();
这将为管理员创建一个约会。但是假设我想实际为另一个用户创建约会(而不是将该用户作为与会者添加到我的约会中)。这可能通过 EWS 托管 API 实现吗?