Outlook 2007 userpermission

F

Fuubah

Hi,

im trying to get the permission of a user, who is editing a appointment in
an others persons calendar.

After debugging the outlook appointment model i tryed it with

((Microsoft.Office.Interop.Outlook.ExplorerClass)(this._appointment.Application.ActiveExplorer())).CurrentFolder.UserPermissions

but my problem is, that this attribute is always null.
Any idea what i am doing wrong?

Or would it be better, to get the information over the exchange by getting
the url over the session objekt.

Or is there a much better way?

thanks for your help
 
K

Ken Slovak - [MVP - Outlook]

That property is hidden and you can't rely on it. You can use the
PropertyAccessor object for that Folder and the DASL property tag
"http://schemas.microsoft.com/mapi/proptag/0x0FF40003" to get the PR_ACCESS
MAPI property for that folder. You can then take that Long and parse it as a
set of flags indicating the permissions. You would use the MAPI header files
in the Windows SDK to interpret the permission flags.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top