Thanks for your help. I am trying to implement a notification mechanism where in an email is sent to the site owner when a user is added. This works great with SPSecurityEventReceiver. However, the problem is that it only works when adding to a SPGroup. Is there an event for when the users are added to the site directly without any SPGroup?


  • Which version of SharePoint you are using? Commented Oct 10, 2019 at 2:25

1 Answer 1


I am assuming you're referring to assignment of permissions directly to the user.

In that case you can override the SPSecurityEventReceiver.RoleAssignmentAdded method.

  • Thanks Slaven. But from my understanding that event only fires if inheritance has been broken. During my tests even the event did not fire when I added the user directly.
    – tariq butt
    Commented Oct 10, 2019 at 18:15
  • Can you describe what does 'add the user directly' mean? Commented Oct 13, 2019 at 4:25

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.