MAPI Read-only Folder

Status
Not open for further replies.
Q

QXR1bFN1cmVrYQ

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
 
No, whoever opens a PST file is the owner of that PST file. You can't make a

folder in it read-only.

"AtulSureka" <atul@mimosasystems.com> wrote in message

news:31A16EF7-3010-413E-B074-63EF61EB7753@microsoft.com...
> 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
 
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
wrote:


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

> >

>

> "AtulSureka" <atul@mimosasystems.com> wrote in message
> news:31A16EF7-3010-413E-B074-63EF61EB7753@microsoft.com...
> > 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


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

"AtulSureka" <atul@mimosasystems.com> wrote in message

news:ED6AB056-9801-4AB1-A7A3-8418CF57D57D@microsoft.com...
> 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
 
Status
Not open for further replies.
Similar threads
Thread starter Title Forum Replies Date
B Strange MAPI/Exchange/IMAP behaviour in OL 2016 under10.0.19044.2006 Using Outlook 0
pcunite Outlook 2019/O365 Build 13127.20408 errors when using MAPI calls Using Outlook 1
F MAPI, User Defined Fields and perspective after 20 years Outlook VBA and Custom Forms 0
Dennis Gaudenzi Your setup couldn't be started because of an unexpected error (mapi 0x80040604) Using Outlook 14
A How to enable outlook room finder (outlook connector (mapi)) user ? Using Outlook 3
J Unwanted US Holiday Contact folder in Outlook.com syncs to MAPI/Phone Address book Using Outlook.com accounts in Outlook 9
P office 2013 communigate mapi Using Outlook 0
S Outlook 2013 MAPI 1.0 Error Using Outlook 2
L Mapi folder.FIND: error Using Outlook 0
J [outlook-users] Icloud + Mapi profile + Using Outlook 1
C MAPI to access a 64 bit Outlook from a 32 bit application; or access via ODBC Using Outlook 0
K Two MAPI Accounts One Contacts data set Using Outlook.com accounts in Outlook 2
E Redemption MAPI access(c#) Outlook VBA and Custom Forms 4
E Google MAPI account Outlook VBA and Custom Forms 4
P CDO MAPI Session failing to retrieve user name but Getexchage user Outlook VBA and Custom Forms 2
R Create a new contact use MAPI? Outlook VBA and Custom Forms 2
A Generating valid MAPI URLs for Outlook 2003 Outlook VBA and Custom Forms 2
M Custom mapi is not displayed in the readingpane. Why? Outlook VBA and Custom Forms 1
M How to install custom mapi form programmatically? Outlook VBA and Custom Forms 1
M How to add a message to a mapi view folder Outlook VBA and Custom Forms 1
T Setting a MAPI property of type PT_SYSTIME Outlook VBA and Custom Forms 4
L Any Replacement for CDO and MAPI ? Outlook VBA and Custom Forms 6
T Simple MAPI send and Outlook COM addin Outlook VBA and Custom Forms 3
D using extended MAPI Outlook VBA and Custom Forms 1
D MAPI programming issue - outbox doesn't exist? Outlook VBA and Custom Forms 2
J Increase read pane font size, but NOT image size? Using Outlook 3
J Read Outlook Form fields Outlook VBA and Custom Forms 3
B Inconsistent handling of message read/unread status by Outlook Using Outlook 3
S E-mails marked as read turn back to unread after a couple of seconds Using Outlook 1
M Cannot read the calendar Using Outlook 9
Z Outlook 365 delete reminder you can’t make change to contents of this-read only folder Using Outlook 4
A Inbox didn't got read Outlook VBA and Custom Forms 0
e_a_g_l_e_p_i Is it possible it set the fonts used to read incoming mail Using Outlook 25
R seperate read layout to design in outlook 2016..Help!! Outlook VBA and Custom Forms 3
N Disable Auto Read Receipts sent after using Advanced Find Using Outlook 4
DoctorJellybean Outlook 365 doesn't always mark emails as read Using Outlook 3
N Separate Read Layout Editing Outlook VBA and Custom Forms 0
A Read and Write to Text File Outlook VBA and Custom Forms 1
L Email Read and Delete Outlook VBA and Custom Forms 4
A Separate Read Layout Outlook VBA and Custom Forms 4
M Making Subject field writable (disable Read Only) Outlook VBA and Custom Forms 2
M How can I determine which user read an email Exchange Server Administration 4
Diane Poremsky Mark Sent Items as Read After Copying with a Rule Using Outlook 0
Diane Poremsky Edit and Save Outlook's Read-Only Attachments Using Outlook 0
Rupert Dragwater Some mailboxes show deleted items as not read Using Outlook 5
K cant read email or open attachement Using Outlook 0
R Reply marks read message as unread Using Outlook 1
T Outlook 2013 either fails to mark messages as read or marks them as read, then un-marks them. Using Outlook 1
Mary B VBscript: Need to copy every email to a folder & mark that copy as read Outlook VBA and Custom Forms 5
Mary B Outlook 2013: Rule for copying new email to folder & marking that copy as read Using Outlook 1

Similar threads

Back
Top