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
creationParameters
Type: Microsoft.SharePoint.SPExternalAppPrincipalCreationParametersThe collection of input parameters used to create a new external app principal.
Return value
Type: Microsoft.SharePoint.SPAppPrincipal
The new app principal.