IMigrateUserCallback.ConvertFromOldUser Method

Converts an old user account into a new user account.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Function ConvertFromOldUser ( _
    oldUser As String, _
    authType As SPWebApplication.AuthenticationMethod, _
    isGroup As Boolean _
) As String
'Usage
Dim instance As IMigrateUserCallback
Dim oldUser As String
Dim authType As SPWebApplication.AuthenticationMethod
Dim isGroup As Boolean
Dim returnValue As String

returnValue = instance.ConvertFromOldUser(oldUser, _
    authType, isGroup)
string ConvertFromOldUser(
    string oldUser,
    SPWebApplication.AuthenticationMethod authType,
    bool isGroup
)

Parameters

  • isGroup
    Type: System.Boolean

    true if the old user account is a group or role; otherwise, false.

Return Value

Type: System.String
The new user account.

Remarks

This method returns a new user account from the old user account.

See Also

Reference

IMigrateUserCallback Interface

IMigrateUserCallback Members

Microsoft.SharePoint.Administration Namespace