0

I need some design ideas for a requirement to audit when uses are added/removed from an object. I need to collect the user doing the add/remove, date time, and reason for adding. I need to do this to sites, libraries lists and anything for that matter that has security permissions associated with it.

My thoughts were to add some type of event receiver that will fire when a user is added/removed. The question is what objects would I attached the event receiver to? Can you provide a general approach? Is it doable? Has it been done?

Thanks for reading!

1

Event Receivers can't be used here, as they can only trap the adding/editing of Items in lists.

If you enable the Audit Log in SharePoint, I think you can monitor the editing of Permissions of Lists and List Items, and track what you need (except the Reason bit).

Setting up Audit Logging in SharePoint 2010

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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