Even with code it's hard to avoid a user being able to change things in
their own mailbox. In-cell editing comes to mind right away. To completely
disable that might be impossible.
--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm
wrote in message
ups.com...
I'm sorry, I think didn't stated clearly what i want to do, because of
my bad English...
I want user not to be able to modify any field of some tasks, except
field "Completed", besides user must not be able to delete these tasks.
Is there any way to do it using outlook add-ins?
Any help would be greatly appreciated.
писал(а):
Is there any way to restrict user to edit tasks and delete them in his
Tasks folder using addin?
I can restrict single task deletions (when user presses delete button
in task form) using ItemEvents_10_BeforeDeleteEventHandler which has a
reference parameter - cancel.
However I am not able to do this when user select multiple tasks and
deletes them. In this case I can only catch
ItemsEvents_ItemRemoveEventHandler and it has no parameters at all.
Besides, I want to restrict user to edit any of task fields.