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)

'Declaration
Public Sub AddMigrateUserToClaimsPolicy ( _
	userName As String _
)
'Usage
Dim instance As SPWebApplication
Dim userName As String

instance.AddMigrateUserToClaimsPolicy(userName)

Parameters

userName
Type: System.String

The username to add permissions for.

Show: