AppPrincipalManager.AddAppPrincipalCredential method
Adds a new credential for an existing app principal.
Namespace: Microsoft.SharePoint.Client
Assembly: Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)
Syntax
'Declaration
Public Sub AddAppPrincipalCredential ( _
appPrincipal As AppPrincipal, _
credential As AppPrincipalCredential _
)
'Usage
Dim instance As AppPrincipalManager
Dim appPrincipal As AppPrincipal
Dim credential As AppPrincipalCredential
instance.AddAppPrincipalCredential(appPrincipal, _
credential)
public void AddAppPrincipalCredential(
AppPrincipal appPrincipal,
AppPrincipalCredential credential
)
Parameters
appPrincipal
Type: Microsoft.SharePoint.Client.AppPrincipalThe app principal.
credential
Type: Microsoft.SharePoint.Client.AppPrincipalCredentialThe credential to add.