SPWebApplication.AddMigrateUserToClaimsPolicy method

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)

Syntax

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

instance.AddMigrateUserToClaimsPolicy(userName)
public void AddMigrateUserToClaimsPolicy(
    string userName
)

Parameters

  • userName
    Type: System.String

    The username to add permissions for.

See also

Reference

SPWebApplication class

SPWebApplication members

Microsoft.SharePoint.Administration namespace