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
oldUser
Type: System.StringThe old user account.
authType
Type: Microsoft.SharePoint.Administration.SPWebApplication.AuthenticationMethodOne of the enumeration values that specifies the type of the authentication format for the old user account.
isGroup
Type: System.Booleantrue 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.