Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Outlook / Programming Forms / April 2009

Tip: Looking for answers? Try searching our database.

MAPI Read-only Folder

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
AtulSureka - 20 Apr 2009 13:52 GMT
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
Ken Slovak - [MVP - Outlook] - 20 Apr 2009 14:34 GMT
No, whoever opens a PST file is the owner of that PST file. You can't make a
folder in it read-only.

Signature

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

> Hi,
>
[quoted text clipped - 6 lines]
>
> Atul Sureka
AtulSureka - 20 Apr 2009 15:37 GMT
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

> No, whoever opens a PST file is the owner of that PST file. You can't make a
> folder in it read-only.
[quoted text clipped - 9 lines]
> >
> > Atul Sureka
Ken Slovak - [MVP - Outlook] - 20 Apr 2009 19:13 GMT
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.

Signature

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

> Thanks for your response, - Basically I have the outlook addin which
> mounts a
[quoted text clipped - 6 lines]
>
> Atul
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2010 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.