问题
How can i know when a user is added (or deleted) to a sharepoint site or to a group in a sharepoint site?
I tried to attach an SPItemEventReceiver on the user information list, but the main problem is that i can't know when a user is added (removed) from a group...
What is the best approach to do that?? noting that i'm using it for licensing purpose and i want to know when the number of users in a specific group passed the maximum of the allowed number.
回答1:
This is an unexpected pain to implement: Refer to this previous Stack Overflow question or Aaron Han's answer in this social thread.
来源:https://stackoverflow.com/questions/4132305/user-added-deleted-event-in-sharepoint