PortalAccountMigrationManager.MigrateAccount Method (String, String, Boolean)
NOTE: This API is now obsolete.
Namespace: Microsoft.SharePoint.Portal
Assembly: Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)
Syntax
'Declaration
<ObsoleteAttribute("This class is obsolete.")> _
Public Shared Function MigrateAccount ( _
strOldAccountName As String, _
strNewAccountName As String, _
bEnforceSidHistory As Boolean _
) As Boolean
'Usage
Dim strOldAccountName As String
Dim strNewAccountName As String
Dim bEnforceSidHistory As Boolean
Dim returnValue As Boolean
returnValue = PortalAccountMigrationManager.MigrateAccount(strOldAccountName, _
strNewAccountName, bEnforceSidHistory)
[ObsoleteAttribute("This class is obsolete.")]
public static bool MigrateAccount(
string strOldAccountName,
string strNewAccountName,
bool bEnforceSidHistory
)
Parameters
- strOldAccountName
Type: System.String
- strNewAccountName
Type: System.String
- bEnforceSidHistory
Type: System.Boolean
Return Value
Type: System.Boolean
See Also
Reference
PortalAccountMigrationManager Class