SPWebApplication.MigrateUsers 方法 (SPWebApplication.IMigrateUserCallback, SPWebApplication.SPMigrateUserParameters)
将用户迁移到声明的身份验证。
命名空间: Microsoft.SharePoint.Administration
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
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
类型:Microsoft.SharePoint.Administration.SPWebApplication.IMigrateUserCallback将现有帐户转换到新帐户的回叫。
返回值
类型:System.Boolean
true如果成功 ;否则为false。