SPWebApplication.MigrateUsers method (SPWebApplication.IMigrateUserCallback, SPWebApplication.SPMigrateUserParameters)
將使用者移轉至宣告式驗證。
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Function MigrateUsers ( _
callback As SPWebApplication.IMigrateUserCallback, _
parameters As SPWebApplication.SPMigrateUserParameters _
) As Boolean
'用途
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
)
參數
callback
Type: Microsoft.SharePoint.Administration.SPWebApplication.IMigrateUserCallback將現有的帳戶轉換成新帳戶的回呼。
傳回值
Type: System.Boolean
true如果成功 ;否則,請false。