Freigeben über


SPAppPrincipalManager.AddAppPrincipalCredential-Methode

Fügt eine neue Anmeldeinformationen für eine vorhandene app-Prinzipal.

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

Syntax

'Declaration
Public Sub AddAppPrincipalCredential ( _
    appPrincipal As SPAppPrincipal, _
    credential As SPAppPrincipalCredential _
)
'Usage
Dim instance As SPAppPrincipalManager
Dim appPrincipal As SPAppPrincipal
Dim credential As SPAppPrincipalCredential

instance.AddAppPrincipalCredential(appPrincipal, _
    credential)
public void AddAppPrincipalCredential(
    SPAppPrincipal appPrincipal,
    SPAppPrincipalCredential credential
)

Parameter

Siehe auch

Referenz

SPAppPrincipalManager Klasse

SPAppPrincipalManager-Member

Microsoft.SharePoint-Namespace