Quantcast
Channel: SharePoint 2010 - Setup, Upgrade, Administration and Operations forum
Viewing all articles
Browse latest Browse all 13778

Edit Permission Levels with Powershell (or another tool)

$
0
0

Hi all,

I need to edit Permission Levels across multiple site collections and was looking to Powershell for this task (ex. change the Contribute permission level to include "Manage Lists")

This current script allows me to Add a custom permission level, but any direction on how to edit an existing permission level?

$spWeb = Get-SPWeb http://SP2010
$spRoleDefinition = New-Object Microsoft.SharePoint.SPRoleDefinition
$spRoleDefinition.Name = "Custom"
$spRoleDefinition.Description = "Can Create and Modify Items, Not Delete"
$spRoleDefinition.BasePermissions = "Base Permission 1, Base Permission 2, etc."
$spweb.RoleDefinitions.Add($spRoleDefinition)

 


Personal Blog: http://thebitsthatbyte.com

Viewing all articles
Browse latest Browse all 13778

Trending Articles



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