Freigeben über


SPAppPrincipalCredential.CreateFromKeyGroup-Methode

Erstellt eine Instanz der [SPAppPrincipalCredential] , die einen Bezeichner Schlüsselgruppe umschließt.

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

Syntax

'Declaration
Public Shared Function CreateFromKeyGroup ( _
    keyGroupIdentifier As Guid _
) As SPAppPrincipalCredential
'Usage
Dim keyGroupIdentifier As Guid
Dim returnValue As SPAppPrincipalCredential

returnValue = SPAppPrincipalCredential.CreateFromKeyGroup(keyGroupIdentifier)
public static SPAppPrincipalCredential CreateFromKeyGroup(
    Guid keyGroupIdentifier
)

Parameter

  • keyGroupIdentifier
    Typ: System.Guid

    Der Bezeichner der Schlüsselgruppe.

Rückgabewert

Typ: Microsoft.SharePoint.SPAppPrincipalCredential
Eine neue Instanz der [SPAppPrincipalCredential].

Siehe auch

Referenz

SPAppPrincipalCredential Klasse

SPAppPrincipalCredential-Member

Microsoft.SharePoint-Namespace