I wrote an Event Receiver on ItemAdded to automatically create a calendar (Template 106) from a ListItem (Title => Name of calendar). So far so good...
Problem of all is, that I want to delete ALL Permissions on the new Calendar. At this time the calendar gets the permissions from the parent web.
Sp what I need is the code to delete all permissions an set the Author of the ListItem, the calendar is created from, as Contributor of the new calendar.
I think this is an easy question for you but I tried already to find something in the WWW. Problem of all is, that I maybe found something but cant use it for me because this is my very first EventHandler. Normally I´ve been doing this with ClientObjectModel but this EH is for WSS 3.0, so I need to write an EH.
Thanks for all effort!