Share via


SPFarm.MigrateGroup method

Similar to MigrateUserAccount, except for groups

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Sub MigrateGroup ( _
    oldLogin As String, _
    newLogin As String _
)
'Usage
Dim instance As SPFarm
Dim oldLogin As String
Dim newLogin As String

instance.MigrateGroup(oldLogin, newLogin)
public void MigrateGroup(
    string oldLogin,
    string newLogin
)

Parameters

See also

Reference

SPFarm class

SPFarm members

Microsoft.SharePoint.Administration namespace