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
appPrincipal
Typ: Microsoft.SharePoint.SPAppPrincipalDie app-Prinzipal.
credential
Typ: Microsoft.SharePoint.SPAppPrincipalCredentialDie Anmeldeinformationen an hinzufügen.