共用方式為


ServicePrincipalsOperationsExtensions.ListPasswordCredentials Method

Definition

Gets the passwordCredentials associated with a service principal.

public static System.Collections.Generic.IEnumerable<Microsoft.Azure.Graph.RBAC.Models.PasswordCredential> ListPasswordCredentials (this Microsoft.Azure.Graph.RBAC.IServicePrincipalsOperations operations, string objectId);
static member ListPasswordCredentials : Microsoft.Azure.Graph.RBAC.IServicePrincipalsOperations * string -> seq<Microsoft.Azure.Graph.RBAC.Models.PasswordCredential>
<Extension()>
Public Function ListPasswordCredentials (operations As IServicePrincipalsOperations, objectId As String) As IEnumerable(Of PasswordCredential)

Parameters

operations
IServicePrincipalsOperations

The operations group for this extension method.

objectId
String

The object ID of the service principal.

Returns

Applies to