SPWebApplication.AddMigrateUserToClaimsPolicy method

SharePoint 2013

Add the permissions necessary to perform migration from legacy auth to claims based auth for the given windows account name (domain\username)

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

public void AddMigrateUserToClaimsPolicy(
	string userName
)

Parameters

userName
Type: System.String

The username to add permissions for.

Show: