ISPGroupMigrator.MigrateGroup Method
Migrates a group from one name to another.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Function MigrateGroup ( _
oldName As String, _
newName As String _
) As Boolean
'Usage
Dim instance As ISPGroupMigrator
Dim oldName As String
Dim newName As String
Dim returnValue As Boolean
returnValue = instance.MigrateGroup(oldName, _
newName)
bool MigrateGroup(
string oldName,
string newName
)
Parameters
oldName
Type: System.StringName to migrate from.
newName
Type: System.StringMigration destination name.
Return Value
Type: System.Boolean
A Boolean value = true if at least one entry for the group was migrated.