Sdílet prostřednictvím


ServicePrincipalsOperationsExtensions.ListOwners Method

Definition

Directory objects that are owners of this service principal.

public static Microsoft.Rest.Azure.IPage<Microsoft.Azure.Graph.RBAC.Models.DirectoryObject> ListOwners (this Microsoft.Azure.Graph.RBAC.IServicePrincipalsOperations operations, string objectId);
static member ListOwners : Microsoft.Azure.Graph.RBAC.IServicePrincipalsOperations * string -> Microsoft.Rest.Azure.IPage<Microsoft.Azure.Graph.RBAC.Models.DirectoryObject>
<Extension()>
Public Function ListOwners (operations As IServicePrincipalsOperations, objectId As String) As IPage(Of DirectoryObject)

Parameters

operations
IServicePrincipalsOperations

The operations group for this extension method.

objectId
String

The object ID of the service principal for which to get owners.

Returns

Remarks

The owners are a set of non-admin users who are allowed to modify this object.

Applies to