你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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