SPAppPrincipalManager.CreateAppPrincipal method (SPExternalAppPrincipalCreationParameters)

Creates an external app principal.

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

Syntax

'Declaration
Public Function CreateAppPrincipal ( _
    creationParameters As SPExternalAppPrincipalCreationParameters _
) As SPAppPrincipal
'Usage
Dim instance As SPAppPrincipalManager
Dim creationParameters As SPExternalAppPrincipalCreationParameters
Dim returnValue As SPAppPrincipal

returnValue = instance.CreateAppPrincipal(creationParameters)
public SPAppPrincipal CreateAppPrincipal(
    SPExternalAppPrincipalCreationParameters creationParameters
)

Parameters

Return value

Type: Microsoft.SharePoint.SPAppPrincipal
The new app principal.

See also

Reference

SPAppPrincipalManager class

SPAppPrincipalManager members

CreateAppPrincipal overload

Microsoft.SharePoint namespace