Quantcast
Channel: SharePoint 2010 - Development and Programming forum
Viewing all articles
Browse latest Browse all 11571

Delete permissions from site with powershell

$
0
0

Hello,

I know how to delete permissions from lists and doclibs. Simply i can use the breakroleinheritance, and i can remove every user. But i couldn't find a way to do this with a site.

Lets say the $site = http://spteszt/spaces/thisisit

$site don't have inheritance method. (or i just don't know how to use it)

So how can i delete every permission on a site? Not on the lists, not on the doclibs, bot on the site itself?


I Hate Mondays


Viewing all articles
Browse latest Browse all 11571

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>