EWS: Access shared calendars?

Here's how I managed to do it: Dim _cal As New Microsoft.Exchange.WebServices.Data. FolderId(Microsoft.Exchange.WebServices.Data. WellKnownFolderName.

Calendar, New Microsoft.Exchange.WebServices.Data. Mailbox(_otherAddress)) Dim _calendarView As New Microsoft.Exchange.WebServices.Data. CalendarView(_startTime.

Date, _endTime.Date. AddDays(1)) For Each appointmentItem As Microsoft.Exchange.WebServices.Data. Appointment In _ service.

FindAppointments( _ _cal, _ _calendarView) Next Note: this only works for the default calendar as that is all I needed for my requirements Edit: For non-default calendars, have you looked into the ExchangeService. FindFolders method, I have not tried but this might not require root inbox access.

Thanks Seph, but as I stated in my question, I need access to a shared non-default calendar. – Mike Dour May 7 at 7:41 I edited my answer see if that helps, another option is to have your users subscribe their shared calendars automatically (so on the user side you tell your server what the folderId is for this user), this would not require you to have root access to the mailbox – Seph May 8 at 0:40.

This is rather complicated, because you need the FolderId of the folder in question. In addition to access to the calendar folder you'll need read access to the root folder of the mailbox. This allows you to execute a FindFolder operation to retrieve that id.

I don't see why that would be necessary. Forgetting about EWS, if I don't have read access to another employee's root folder, but they create a shared folder and share it with me through Outlook, I can see it. Does them sharing the folder automatically give me read access to their root folder?

If not, why would Outlook be able to view the shared calendar but not EWS? – Mike Dour Nov 22 '10 at 15:31.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions