One of the more challenging things you may want to do when writing code that is going to run against an Exchange 2007 mailbox is to set and modify Folder permissions on a mailbox folder or a public folder. I’d thought I’d share my efforts and what I learnt over the last week of trying to do this (thanks to David Claux for helping me get over my issues with custom permissions). One of the features added to SP1 in Exchange 2007 is the ability to set folder permissions and also folder delegates. This is a pretty cool feature but one you do need to make sure you understand before you dive in. Before you start its a good idea to understand the permissions your want to modify to ensure your code is going to work as expected and avoid any unwanted ACL changes. Let’s start by looking at the permissions that can be set on a folder via EWS CanCreateItems ReadItems DeleteItems EditItems CanCreateSubFolders IsFolderContact IsFolderOwner IsFolderVisible With E...
Pushing the Envelope in Messaging and Office 365 Development