SPWebApplication.MigrateUsers method (SPWebApplication.IMigrateUserCallback, SPWebApplication.SPMigrateUserParameters)
Migrates users to claims authentication.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Function MigrateUsers ( _
callback As SPWebApplication.IMigrateUserCallback, _
parameters As SPWebApplication.SPMigrateUserParameters _
) As Boolean
'Usage
Dim instance As SPWebApplication
Dim callback As SPWebApplication.IMigrateUserCallback
Dim parameters As SPWebApplication.SPMigrateUserParameters
Dim returnValue As Boolean
returnValue = instance.MigrateUsers(callback, _
parameters)
public bool MigrateUsers(
SPWebApplication.IMigrateUserCallback callback,
SPWebApplication.SPMigrateUserParameters parameters
)
Parameters
callback
Type: Microsoft.SharePoint.Administration.SPWebApplication.IMigrateUserCallbackCallback that converts existing accounts to new accounts.
Return value
Type: System.Boolean
true if successful; otherwise, false.