How to get notified about changes on SharePoint groups.
Posted
by Flo
on Stack Overflow
See other posts from Stack Overflow
or by Flo
Published on 2008-11-17T16:08:57Z
Indexed on
2010/05/10
17:14 UTC
Read the original article
Hit count: 303
Hi,
I'm actual looking for a way to get notified about any changes on a SharePoint group. First I though I would be able to this by attaching a event handler to some kind of group list. But unfortunately there are no such list representing SharePoint groups.
My second attempt was to bind a event handler to the content type SharePointGroup but this didn't work either.
So are there any other options to get notified about events on a SharePoint group?
Bye, Flo
EDIT:
Thanks for the reply so far.
I forgot to mention that I've already googled and read about the user information list. Sorry.
First I found a forum entry where they post the relative URL to the user information list (_catalogs/users/simple.aspx). When I'm using this link to see the list,it only contains users and no groups. I don't know but perhaps this link does some filtering on the list.
The other information I found about in several blog and forum posts was that a event handler attached to the user information list are not fired up on an events. I have to admit after reading that it doesn't work so many times and even on MSDN (http://msdn.microsoft.com/en-us/library/aa979520.aspx), I didn't try it on my own.
The problem attaching the event handler to the content type wasn't the attaching thing, the handler simply didn't get fired when I for example changed a group name or deleted a user from the group. I don't have an idea why the handler doesn't get called I pretty sure I implemented the right methods and attached them to the right events.
Any other suggestions how to get informed about changes on SharePoint groups?
© Stack Overflow or respective owner