Share via


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

Return value

Type: System.Boolean
true if successful; otherwise, false.

See also

Reference

SPWebApplication class

SPWebApplication members

MigrateUsers overload

Microsoft.SharePoint.Administration namespace