这种情况是不是必须模拟每一个用户进行同步呢
ExchangeService service = new ExchangeService(ExchangeVersion.Exchange2007_SP1, TimeZoneInfo.FindSystemTimeZoneById("China Standard Time"));
service.Credentials = new WebCredentials("admin", "pwd", "xxx.com");
service.Url = new Uri("");
service.ImpersonatedUserId = new ImpersonatedUserId(ConnectingIdType.SmtpAddress, "
aaa@xxx.com")
Appointment appointment = new Appointment(service);
appointment.Subject = "测试";
appointment.Location = "测试";
appointment.Body = "测试";
appointment.Start = DateTime.Parse("2013-01-20 12:00:00");
appointment.End = appointment.Start.AddMinutes(120);
appointment.RequiredAttendees.Add("
aaa@xxx.com");
appointment.Save(SendInvitationsMode.SendToNone);
提示:该帐户无权模拟所请求的用户。