sharepoint 权限继承相关

重新继承父级权限:

SPList.ResetRoleInheritance();

断开继承:

SPList.BreakRoleInheritance(true);

用powershell断开继承:

$url = http://SharePointSite.com/SubSite

$web = Get-SPWeb -Identity $url

 
$web.BreakRoleInheritance($true)
 
 
posted @ 2014-10-21 09:28  jindahao  阅读(504)  评论(0编辑  收藏  举报