Share via


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

See also

Reference

AppPrincipalManager class

AppPrincipalManager members

Microsoft.SharePoint.Client namespace