locked
Access Meeting Room Calendar RRS feed

  • Question

  • As, of now i am able to get the meeting room calendar, whether the room is busy or not for the start and end date, is there any way to get the details of the meeting room like who have booked the room at the busy and the subject etc.

    Thanks in advance

    Wednesday, October 14, 2015 7:06 AM

All replies

  • >>As, of now i am able to get the meeting room calendar, whether the room is busy or not for the start and end date

    It would have been helpful if you had described the method you are using and posted a code sample

    The two methods you can use is to use GetUserAvailiblity and use the CalendarEventDetails eg http://blogs.msdn.com/b/balsharfi/archive/2014/09/11/calendar-item-aggregates-with-exchange-web-services-ews-managed-api-2-2.aspx however this won't return who organized a Meeting but with most Meeting Rooms they are set to put this information in the Subject value anyway (and delete the actual subject for security reasons)

    or use EWS to query the Calendar itself https://msdn.microsoft.com/en-us/library/office/dn495614(v=exchg.150).aspx (make sure you change)

                // Initialize the calendar folder object with only the folder ID. 
                CalendarFolder calendar = CalendarFolder.Bind(service, WellKnownFolderName.Calendar, new PropertySet());

    to

                // Initialize the calendar folder object with only the folder ID. 
                
                CalendarFolder calendar = CalendarFolder.Bind(service, new FolderId(WellKnownFolderName.Calendar,"roommailbox@domain.com"), new PropertySet());

    cheers
    Glen

    Thursday, October 15, 2015 1:47 AM