I have to update some list whenever a new user or group is added to the site.
Is there any event receiver available for users/groups?
|
I have to update some list whenever a new user or group is added to the site. Is there any event receiver available for users/groups? |
||||
|
|
|
There is no event receiver for users or user groups. So you'll have to create a timer job and do the checking for new groups yourselvers. Or you can add some javascript to a delegate control (AdditionalPageHead) which checks for the current page being _layouts/newgrp.aspx and if it is hooks the clicked event of ctl00_PlaceHolderMain_ctl06_RptControls_btnOK to fire off an AjaxCall to your code. |
|||||||
|
|
You have to donwload the SharePoint 2010 Event Manager, then in the user Assign your Assymbly(Event Receiver) to the User Information List of your site and Test!! |
|||
|
|