Tuesday, July 01, 2008

Microsoft SharePoint 2007 - Sample Event Handler to set Permissions

I recently had to dig up something I learnt in the past so, here it is - a good example posted by Ishai Sagi to show a great example for:
  • Getting a list item in the event handler
  • Impersonating another user totally (without using RunWithElevatedPrivilages)
  • Changing permissions for an item
  • Creating a new permission role in a web site
  • Checking if a role exists or not

http://www.sharepoint-tips.com/2007/03/sample-event-handler-to-set-permissions.html

No comments: