重新继承父级权限:
SPList.ResetRoleInheritance();
断开继承:
SPList.BreakRoleInheritance(true);
用powershell断开继承:
$url = http://SharePointSite.com/SubSite
$web = Get-SPWeb -Identity $url
$web.BreakRoleInheritance($true)
重新继承父级权限:
SPList.ResetRoleInheritance();
断开继承:
SPList.BreakRoleInheritance(true);
用powershell断开继承:
$url = http://SharePointSite.com/SubSite
$web = Get-SPWeb -Identity $url