Sunday, September 29, 2013

How to Rename a SharePoint Group

Requirement: On a marketing site, site owner wanted to rename "Marketing Members" group name to "Marketing Managers" as it makes more sense to him.  To rename a SharePoint 2013/2010 user group, Navigate to:

  • Site settings >> Site permissions >> Pick your target group
  • Click on "Group Settings" from Settings Menu
    how to rename sharepoint group
  • Supply a new name for your SharePoint permission group.
    sharepoint 2010 rename security group
  • Click on Ok to save your changes.
Pretty straightforward, isn't it?

Rename SharePoint group using PowerShell:
Renaming SharePoint groups can be achieved with PowerShell too. Here is my PowerShell script to rename a group in SharePoint 2013:
Add-PSSnapin Microsoft.SharePoint.PowerShell -ErrorAction SilentlyContinue

#Variables
$SiteURL = "http://intranet.crescent.com/sites/marketing/"
$GroupName = "Marketing Members" 
$GroupNewName ="Marketing Managers"

#Get site and Group objects
$Site = Get-SPSite $SiteURL
$Group = $Site.RootWeb.SiteGroups[$GroupName]

if($Group -ne $null)
    {
        #sharepoint rename permission group
        $Group.name = $GroupNewName
        #Update the group
        $Group.Update()
        Write-host "Group Name has been updated!" 
    }
#dispose site object
$site.Dispose() 



You might also like:
SharePoint Usage Reports
Usage reports, collaboration and audit for SharePoint.
Document SharePoint Farm
Automatically generate SharePoint documentation.
*Sponsored


Check out these SharePoint products:

No comments :

Post a Comment

Please Login and comment to get your questions answered!

You might also like:

Related Posts Plugin for WordPress, Blogger...