Freigeben über


SPIisWebServiceApplication.MigrateUserAccount-Methode

Benutzer migriert.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Protected Friend Overrides Function MigrateUserAccount ( _
    subscriptionId As Guid, _
    oldPrincipalName As String, _
    newPrincipalName As String, _
    allowedOldBinaryIds As IEnumerable(Of Byte()), _
    newBinaryId As Byte() _
) As Boolean
'Usage
Dim subscriptionId As Guid
Dim oldPrincipalName As String
Dim newPrincipalName As String
Dim allowedOldBinaryIds As IEnumerable(Of Byte())
Dim newBinaryId As Byte()
Dim returnValue As Boolean

returnValue = Me.MigrateUserAccount(subscriptionId, _
    oldPrincipalName, newPrincipalName, _
    allowedOldBinaryIds, newBinaryId)
protected internal override bool MigrateUserAccount(
    Guid subscriptionId,
    string oldPrincipalName,
    string newPrincipalName,
    IEnumerable<byte[]> allowedOldBinaryIds,
    byte[] newBinaryId
)

Parameter

  • newBinaryId
    Typ: []

Rückgabewert

Typ: System.Boolean
True, wenn der Dienst migriert Benutzer, false, andernfalls.

Siehe auch

Referenz

SPIisWebServiceApplication Klasse

SPIisWebServiceApplication-Member

Microsoft.SharePoint.Administration-Namespace