Share via


PortalAccountMigrationManager.MigrateUserAccount Method

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

Syntax

'Declaration
Public Function MigrateUserAccount ( _
    oldLogin As String, _
    newLogin As String, _
    enforceSidHistory As Boolean _
) As Boolean
'Usage
Dim instance As PortalAccountMigrationManager
Dim oldLogin As String
Dim newLogin As String
Dim enforceSidHistory As Boolean
Dim returnValue As Boolean

returnValue = instance.MigrateUserAccount(oldLogin, _
    newLogin, enforceSidHistory)
public bool MigrateUserAccount(
    string oldLogin,
    string newLogin,
    bool enforceSidHistory
)

Parameters

Return Value

Type: System.Boolean

Implements

ISPUserMigrator.MigrateUserAccount(String, String, Boolean)

See Also

Reference

PortalAccountMigrationManager Class

PortalAccountMigrationManager Members

Microsoft.SharePoint.Portal Namespace