A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Add-ins for Outlook
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Outlook 2007 userpermission



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old April 28th 10, 01:46 PM posted to microsoft.public.outlook.program_addins
fuubah
external usenet poster
 
Posts: 14
Default Outlook 2007 userpermission

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
  #2  
Old April 28th 10, 03: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


 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Looking for client-side method (Outlook 2007/Exchange 2007) for users to delete Sue Morton Outlook and VBA 2 April 12th 10 06:24 PM
Outlook 2007 user-defined fields not showing in Word 2007 merge dgraham Outlook - Using Contacts 0 April 2nd 10 12:45 AM
After Office 2007 SP2 install - Outlook 2007 macro no longer worki rpratikno Outlook and VBA 13 June 17th 09 07:19 PM
Outlook 2007 shared calendars are lost when exchange 2007 reboot Cris Krikkke Outlook - Calandaring 2 December 14th 07 08:25 AM
Office Standard 2007 Trial & Outlook 2007 full version cmmsc777 Outlook - Installation 3 November 7th 07 10:10 PM


All times are GMT +1. The time now is 01:14 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.