How to delete unused(stale) groups from sharepoint site 2007 | SharePoint 2007 Programming | SharePoint Forum

Please consider registering
guest

Log In Members

Lost password?
Advanced Search

— Forum Scope —

  

— Match —

   

— Forum Options —

   

Minimum search word length is 4 characters - maximum search word length is 84 characters

Topic RSS
How to delete unused(stale) groups from sharepoint site 2007
March 17, 2011
6:28 am
Anu
Guest

I need to delete all unused groups that are in my site.I can get list of all groups but not able to list groups that are unused past long time.Can anyone help me in this??

Got to know that Using SPWeb.SiteGroups/SPWeb.Groups, SPRoleAssignment,SPRoleDefinitionBindings properties and classes I can achieve this.Only step where I failed is how to check the exact permissions assigned.One possibility is that there might be users, who created groups but din't knew the importance of assigning roles or permisssions to it, and still used that group with any contents.

Right now I found that Webservice UserGroup.asmx might be helpful.

It takes the GroupName as input and gives me the role collection from group.

But not getting how to consume this webservice.

Help would be appreciated a lot

Forum Timezone: UTC 0

Most Users Ever Online: 102

Currently Online:
28 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Member Stats:

Guest Posters: 978

Members: 16882

Moderators: 0

Admins: 1

Forum Stats:

Groups: 3

Forums: 10

Topics: 1271

Posts: 2412

Administrators: Learning SharePoint: 255