"Person A" is the access provisioner of the SharePoint site, but "Person B" is the manager and wants to get alerts of who is given access to the site. Are you able to set an alert for this scenario?

I am trying to look through the settings to see if I can set an alert, but only for changes within a list.

  • which version of SharePoint are you using ? 2013 , 2016 or SP Online ? Aug 1, 2017 at 17:54
  • I want to say 2013, but is there a way I can tell for sure besides looking at the GUI/interface? Aug 1, 2017 at 18:02
  • when you go to the settings page , does it go to siteurl/_layouts/15/settings.aspx or siteurl/_layouts/settings.aspx ? Aug 1, 2017 at 18:07
  • it goes to siteurl/_layouts/15/settings.aspx Aug 1, 2017 at 18:16

1 Answer 1


SharePoint 2013 introduced a new event receiver class called SPSecurityEventReceiver

Just like the normal event receiver, SPSecurityEventReceiver has the GroupUserAdded method which can be overridden and we can write our custom logic to send email to the group manager whenever a new user is added. You can refer to the below article that explains how to trigger the Event Receiver when a user is added to the group.

Event Receiver that triggers on User addition to Group

    publicoverridevoid GroupUserAdded(SPSecurityEventProperties properties)

        // Get the added user details
        SPUser userAdded = 

        // Get the group details to which the user is added
        SPGroup groupAdded = properties.Web.Groups.GetByID(properties.GroupId);

       // Add logic to send mail to the respective user

How to send email using SPUtility

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.