SPExternalAppPrincipalCreationParameters constructor
Initializes a new instance of the SPExternalAppPrincipalCreationParameters class.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Sub New ( _
appIdentifier As String, _
displayName As String, _
applicationEndpointAuthorities As List(Of String), _
credential As SPAppPrincipalCredential _
)
'Usage
Dim appIdentifier As String
Dim displayName As String
Dim applicationEndpointAuthorities As List(Of String)
Dim credential As SPAppPrincipalCredential
Dim instance As New SPExternalAppPrincipalCreationParameters(appIdentifier, _
displayName, applicationEndpointAuthorities, _
credential)
public SPExternalAppPrincipalCreationParameters(
string appIdentifier,
string displayName,
List<string> applicationEndpointAuthorities,
SPAppPrincipalCredential credential
)
Parameters
appIdentifier
Type: System.StringThe unique identifier of the app principal.
displayName
Type: System.StringThe display name of the app principal.
applicationEndpointAuthorities
Type: System.Collections.Generic.List<String>The list of hostname[:port] that exposes app endpoints.
credential
Type: Microsoft.SharePoint.SPAppPrincipalCredentialThe credential to associate with the new app principal.
See also
Reference
SPExternalAppPrincipalCreationParameters class