Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
MigrateUsersToClaims method (NTAccount, Boolean, SPWebApplication.SPMigrateUserParameters)

SPWebApplication.MigrateUsersToClaims method (NTAccount, Boolean, SPWebApplication.SPMigrateUserParameters)

SharePoint 2013

Migrates users from legacy authentication to claims-based authentication.

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

public bool MigrateUsersToClaims(
	NTAccount account,
	bool removePermissionsAfter,
	SPWebApplication.SPMigrateUserParameters parameters
)

Parameters

account
Type: System.Security.Principal.NTAccount

The NTAccount that will perform the operation.

removePermissionsAfter
Type: System.Boolean

The account is given the correct permissions to perform the operation. Indicates whether the permission should be removed when the operation is completed.

parameters
Type: Microsoft.SharePoint.Administration.SPWebApplication.SPMigrateUserParameters

This defines the scope and type of migration operation to be performed.

Return value

Type: System.Boolean
true if successful; otherwise, false.
Show:
© 2015 Microsoft