-
Hi All,
I have following requirement to write the ItemAdding even reciever(synchronous event receiver) code.
If theĀ “IsConfidential” boolean field is set to true , then only current user and “Manager” sharepoint group shoud have full permission for the item, otherwise permission shoud be inherited.
Kindlly share your thoughts about this ?
Thanks & Regards
Deepak Chauhan
What kind of help do you need? Have you created Event Receivers before? Or are you hoping to find code on how to execute the logic?
In any event, you’ll want to break role inheritance on the item, and then assign permissions after.
https://msdn.microsoft.com/en-us/library/microsoft.sharepoint.splist.breakroleinheritance.aspx