I have a scenario in which the farm administrators as well as the site collection administrator are not the administrator of a sub site.

Is there a solution to detect when these farm or site collection administrators grant access for a certain user on this site and then notify the real site administrator?

Thank you.

有帮助吗?

解决方案

In order to achieve this you have to write custom code. SharePoint 2013 introduced a new event receiver class called "SPSecurityEventReceiver".

The custom event receiver class must derive from SPSecurityEventReceiver

Reference link

Another way would be to develop a timer job which reads the audit log for the site to determine which groups have been updated, then fire a workflow or code from that.

许可以下: CC-BY-SA归因
scroll top