Removing a user/users from all SharePoint Groups in a Site Collection
For some SharePoint implementation, we might end up creating many
SharePoint groups and add users to these groups based on the business
needs. Later we might need to remove a user from all these groups or the
entire site collection. If we are having many groups spread across
various sub sites within the site collection, it will be a tedious task
to manually remove the users from all the SharePoint groups. There are
many blogs which talk about writing some PowerShell script to traverse
through all the SharePoint Groups and remove the user/users. If you are
trying to remove the user/users completely from the site collection and
all its groups, you can do this is in a simple way through UI. No need
to write any code or PowerShell. Follow the below steps.
Simple and Powerful steps:
Simple and Powerful steps:
Step 1) - Login as Site Collection Administrator, click 'Site Actions' -> 'Site Settings'.
Step 2) - Click on any exiting SharePoint Groups (eg., Memebers). This opens a
new page, observe the URL of this page which will be something like
below.
http://<<siteurl>>/_layouts/people.aspx?MembershipGroupID=5
Step 3) - Now, change the query string value of 'MembershipGroupID' to 0 (zero). This will show All People within the site collection.
Step 4) - Select the user/users, and from the Actions menu click on 'Delete Users from Site Collection'
This will remove the selected user/users from all the SharePoint groups, libraries, lists and sub sites in the Site Collection.
Thanks and Enjoy :) :)
Thanks and Enjoy :) :)
No comments:
Post a Comment