how to detect when a user granted the access on a site?
-
10-10-2020 - |
Domanda
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.
Soluzione
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.
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a sharepoint.stackexchange