How to set user's mailbox and folder permissions
I need to set access permissions for a user's mailbox and folders on exchange 2007. The powershell cmdlet Set-MailboxFolderPermission is available on exchange 2010 and 2013 and does the job. But that cmdlet is not available on exchange 2007. Does anyone know how to implement the equivalent functionality? There's the interface IExchangeManageStore that seems to work with outlook/MAPI but it requires a profile. It there anything better or easier server-side?
July 13th, 2015 1:13pm

Hello Chuck,

The forum is for Outlook related dev questions. I'd recommend asking Exchange specific questions on the Exchange Server Development  forum instead.

Free Windows Admin Tool Kit Click here and download it now
July 13th, 2015 1:19pm

For the mailbox wide permissions, you need to utilize the Exchange admin console.

Fro the folder permissions, you need to open PR_ACL_TABLE MAPI property as IExchangeModifyTable (IMAPIFolder::OpenProperty). You can then use IExchangeModifyTable::ModifyTable to add new ACL entries. This requires C++ or Delphi

If using Redemption is an option, it exposes the RDOACL object that allows to add/modify/delete ACL entries of any Exchange folder - see http://www.dimastr.com/redemption/RDOACL.htm for more details. To avoid using a preconfigured profile, you can use RDOSession.LogonExchangeMailbox to open the mailbox of the current (admin) user and then open the mailbox of another user using RDOSession.GetSharedMailbox.

 
July 13th, 2015 2:28pm

This question is perfectly fine in the Outlook dev forum.

Free Windows Admin Tool Kit Click here and download it now
July 14th, 2015 1:55am

But it is not related to Outlook - the Outlook object model doesn't provide anything for that. So, the more appropriate forum for Exchange specific questions is the Exchange Server Development forum.
July 14th, 2015 2:57am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics