These are chat archives for OfficeDev/ews-java-api

3rd
Aug 2015
Erik van Paassen
@evpaassen
Aug 03 2015 08:51
I don't know about listing accessible calendars, but you can check permissions on a folder by binding to it while connected as the delegated user, and then checking the permissions with folder.getEffectiveRights(). You'll have to catch a ServiceResponseException (with e.getErrorCode() == ErrorFolderNotFound or ErrorItemNotFound, afaik) while binding, which would mean the folder is not accessible by this user at all.