New Event Receivers in SharePoint 2013




SharePoint 2013 introduced a new event receiver class called SPSecurityEventReceiver.  Custom event receiver class must derive from SPSecurityEventReceiver (Please refer http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spsecurityeventreceiver.roleassignmentadded.aspx). Using this new event receiver class you will be able to handle the following events

Group Events:

  • GroupAdded method
  • GroupAdding method
  • GroupDeleted method
  • GroupDeleting method
  • GroupUpdated method
  • GroupUpdating method

Inheritance Events:

  • InheritanceBreaking method
  • InheritanceBroken method
  • InheritanceReset method
  • InheritanceResetting method

User Events:

  • GroupUserAdded method
  • GroupUserAdding method
  • GroupUserDeleted method
  • GroupUserDeleting method

Role Events:

  • RoleAssignmentAdded method
  • RoleAssignmentAdding method
  • RoleAssignmentDeleted method
  • RoleAssignmentDeleting method
  • RoleDefinitionAdded method
  • RoleDefinitionAdding method
  • RoleDefinitionDeleted method
  • RoleDefinitionDeleting method
  • RoleDefinitionUpdated method
  • RoleDefinitionUpdating method

Ebook Download
View all
Learn
View all