Share via


how to remove user from all the assigned permissions in site&Sub sites etc using power shell script?

Question

Sunday, December 27, 2015 9:09 AM

Dear,

Can any one suggest on below.

How to check and remove all the permission assigned for a specific user in lists,document libraries,Folders unique as well as inherited permission under all the site collection of a site.

Thanks & Regards, Krishna

All replies (2)

Sunday, December 27, 2015 12:43 PM ✅Answered

Hi

here are good links

http://www.sharepointdiary.com/2013/01/permission-report-for-specific-user.html

http://blog.binaryrepublik.com/2012/12/powershell-remove-user-account.html

http://sharepoint.stackexchange.com/questions/34523/powershell-to-remove-site-user-permission

https://social.technet.microsoft.com/Forums/office/en-US/8b2742c9-69a2-44b5-8b70-c830de871767/how-to-remove-specific-user-permission-from-document-library-using-powershell?forum=sharepointgeneralprevious

Rajendra Singh
sharepoint Adda
Walking on water and developing software from a specification are easy if both are frozen
If a post answers your question, please click Mark As Answer on that post and Vote as Helpful If a post answers your question, please click Mark As Answer on that post and Vote as Helpful


Monday, December 28, 2015 7:03 AM ✅Answered

Hi krishna_2012,

From your description, you want to check and remove all permissions assigned for a specific user in a site collection.

For checking permissions of a user in a site collection, you can use the following reference:

http://www.sharepointdiary.com/2013/01/permission-report-for-specific-user.html

https://gallery.technet.microsoft.com/office/Powershell-script-to-check-122851d6

To remove a user from a site collection, you can refer to:

http://get-spscripts.com/2011/02/remove-sharepoint-or-ad-groupuser.html

http://www.sharepointdiary.com/2013/07/delete-users-from-site-collection-using-powershell.html

Thanks,

Wendy

TechNet Community Support
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected].