Monday, October 1, 2012

New feature in SharePoint 2013 event receivers

This article we will discuss about whats new in SharePoint 2013 event receivers. There are lots of new features in SharePoint 2013. But in this article we will discuss about new features of SharePoint 2013 in case of event receivers.

In SharePoint 2010 an event receiver can attach to a  list, list item, list email, list workflow, or web.

But SharePoint 2013 introduces a new event receiver class name as SPSecurityEventReceiver. This class will help us adding event handlers to SharePoint Groups, Users, Roles and Permission Inheritance which is absolutly new in SharePoint 2013.
Group Events:

GroupAdded
GroupAdding
GroupDeleted
GroupDeleting
GroupUpdated
GroupUpdating

Inheritance Events:

InheritanceBreaking
InheritanceBroken
InheritanceReset
InheritanceResetting

User Events:

GroupUserAdded
GroupUserAdding
GroupUserDeleted
GroupUserDeleting
RoleAssignmentAdded
RoleAssignmentAdding
RoleAssignmentDeleted
RoleAssignmentDeleting
RoleDefinitionAdded
RoleDefinitionAdding
RoleDefinitionDeleted
RoleDefinitionDeleting
RoleDefinitionUpdated
RoleDefinitionUpdating


Twitter Delicious Facebook Digg Favorites More