共用方式為


SPWebApplication.MigrateUsers Method (Boolean)

Converts existing users to or from accounts that use claims authentication.

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

Syntax

'Declaration
Public Sub MigrateUsers ( _
    toClaims As Boolean _
)
'Usage
Dim instance As SPWebApplication
Dim toClaims As Boolean

instance.MigrateUsers(toClaims)
public void MigrateUsers(
    bool toClaims
)

Parameters

  • toClaims
    Type: System.Boolean

    true to move users to claims authentication; false to move users from claims authentication.

See Also

Reference

SPWebApplication Class

SPWebApplication Members

MigrateUsers Overload

Microsoft.SharePoint.Administration Namespace