![]() |
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. |
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
![]()
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
|
|||
|
|||
![]()
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
|
|||
|
|||
![]()
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
|
|||
|
|||
![]()
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 |
Display Modes | |
|
|
![]() |
||||
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 |