代表另一个用户接受会议响应 - ews-java-api EWS

时间:2017-01-12 18:53:31

标签: java exchange-server ewsjavaapi

我有一个超级用户,对所有用户都有日历读/写权限。

超级用户在另一个用户的日历中创建约会:

Appointment appointment = new Appointment(service);  

// create an event in userA's calendar
Folder calendarFolder = Folder.bind(service, new FolderId(WellKnownFolderName.Calendar, new Mailbox("userA@test.com")));

// Add userB as an attendee
appointment.getRequiredAttendees().add("userB@test.com"); 


appointment.save(calendarFolder.getId());

现在我想代表userAuserB

接受此约会

0 个答案:

没有答案