View Single Post
  #2  
Old April 28th 10, 02:59 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Outlook 2007 userpermission

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.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm


"Fuubah" wrote in message
...
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())).C urrentFolder.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


Ads