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

Please consider registering

Log In Members

Lost password?
Advanced Search

— Forum Scope —


— Match —


— Forum Options —


Wildcard usage:
*  matches any number of characters    %  matches exactly one character

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

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: 93

Currently Online:
37 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)

Disclaimer: The contents of this site are provided “AS IS”. Information and views expressed including URL(s) and other Internet website references, may change without notice. You bear the risk of using it. SharePoint, MOSS, SharePoint 2010, SharePoint 2013 and Microsoft are trademarks of the Microsoft Corporation.Learning SharePoint only provides Tips,Tricks and Tutorials for using Microsoft SharePoint, Microsoft Office and related Softwares.
Creative Commons License
This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported License.