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 » Outlook - Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

MAPI Read-only Folder



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old April 20th 09, 01:52 PM posted to microsoft.public.outlook.program_forms
AtulSureka
external usenet poster
 
Posts: 13
Default MAPI Read-only Folder

Hi,

I have a PST file mounted in outlook profile. I want to make the PST folders
as Read-only. Is there any MAPI property by which I can set read-only
permission on PST folders so that user can not add/remove any item from those
folders.

Atul Sureka
  #2  
Old April 20th 09, 02:34 PM posted to microsoft.public.outlook.program_forms
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default MAPI Read-only Folder

No, whoever opens a PST file is the owner of that PST file. You can't make a
folder in it read-only.

--
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


"AtulSureka" wrote in message
...
Hi,

I have a PST file mounted in outlook profile. I want to make the PST
folders
as Read-only. Is there any MAPI property by which I can set read-only
permission on PST folders so that user can not add/remove any item from
those
folders.

Atul Sureka


  #3  
Old April 20th 09, 03:37 PM posted to microsoft.public.outlook.program_forms
AtulSureka
external usenet poster
 
Posts: 13
Default MAPI Read-only Folder

Thanks for your response, - Basically I have the outlook addin which mounts a
PST file. That PST file is having some messages. However I do not want user
to delete the messages. PST is opened in Addin context, Addin should not
allow the user to delete the messages from PST.

Atul

Atul

"Ken Slovak - [MVP - Outlook]" wrote:

No, whoever opens a PST file is the owner of that PST file. You can't make a
folder in it read-only.

--
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


"AtulSureka" wrote in message
...
Hi,

I have a PST file mounted in outlook profile. I want to make the PST
folders
as Read-only. Is there any MAPI property by which I can set read-only
permission on PST folders so that user can not add/remove any item from
those
folders.

Atul Sureka



  #4  
Old April 20th 09, 07:13 PM posted to microsoft.public.outlook.program_forms
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default MAPI Read-only Folder

Unless this is Outlook 2007 you cannot do what you want. For Outlook 2007
you can use the BeforeItemMove() event to cancel any deletions (the
targetFolder argument will be null in cases where the item is deleted).
Otherwise come up with something else.

--
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


"AtulSureka" wrote in message
...
Thanks for your response, - Basically I have the outlook addin which
mounts a
PST file. That PST file is having some messages. However I do not want
user
to delete the messages. PST is opened in Addin context, Addin should not
allow the user to delete the messages from PST.

Atul

Atul


 




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
How to Programatically Access specific MAPI folder PS Add-ins for Outlook 4 February 17th 08 05:18 PM
VBA to Copy email from read only folder to a local folder Clifford Outlook and VBA 1 October 22nd 07 07:18 PM
Outlook MAPI or Read OL2003 PST Ariel R Add-ins for Outlook 1 May 21st 07 07:58 PM
Outlook MAPI or Read OL2003 PST Ariel R Outlook - General Queries 0 May 20th 07 01:43 PM
Mapi Folder Items ItemChange event is not firing AtulSureka Outlook and VBA 3 February 5th 06 06:25 PM


All times are GMT +1. The time now is 12:25 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.