I am working on SharePoint 2010 . Creating features to automate the custom list creation. I am assigned a task to automatically set the custom permission of each list using features programatically. I would like to know if it is possible and if yes how.
There are 2 things here:
- Custom permission level is to be created with contribute-delete permissions.
- This permission and default available permissions are to be set to lists which are custom made using features.
please do specify which methods to override if at all possible. Thanks in advance for your valuable answers.
Override the FeatureActivated method of your feature receiver with code similar to the following: