Hi,
So basically, I am trying to check if a given user has permission to a book a restricted room in my org.
ExchangeService exchange = setupExchange(); // This setups exchange with the right credentials. This part is working as I have used the same setup function
retrieve availabilities of a room and an user.
Mailbox meetingMailbox = new Mailbox("xyxz@amazon.com");
FolderId folderId = new FolderId(WellKnownFolderName.Calendar, meetingMailbox);
UserConfiguration userConfiguration = UserConfiguration.bind(exchange,
"Calendar",
folderId,
UserConfigurationProperties.All);
So when I run this part of code, it blows up on UserConfiguration bind method. I am trying to access the BookInPolicy eventually.
Could some one tell me how do I achieve this?
-Hrushikesh