Skip to content

listAccessGrantingIdentities

ListAccessGrantingIdentities returns a list of identities that grant access to resources based on the provided filter criteria.

Arguments

Argument Type Description
first Int Returns the first n elements from the list.
after String An opaque cursor returned from a previous query's endCursor field. Pass this value verbatim to retrieve the next page of results.
last Int Returns the last n elements from the list.
before String An opaque cursor returned from a previous query's startCursor field. Pass this value verbatim to retrieve the previous page of results.
filter AccessFilter Filter to be applied when retrieving access granting identities.

Returns

PrincipalSummaryConnection!

Sample

query {
  listAccessGrantingIdentities(first: 10) {
    nodes {
      creationTime
      deletedAt
      department
      domainFid
      domainId
      domainName
      entityId
      entityName
      fullName
      hasInsights
      hybridState
      identityTags
      idpType
      isComplete
      isNewlyAdded
      isPrimary
      lastChanged
      nativeType
      numDescendants
      objectCount
      previousRiskLevel
      principalId
      principalOrigin
      principalType
      privilegeType
      riskLevel
      rootDomainId
      rootDomainName
      status
      title
      uniqueIdentifier
      upn
    }
    pageInfo {
      hasNextPage
      endCursor
    }
  }
}
{}
{
  "data": {
    "listAccessGrantingIdentities": {
      "nodes": [
        [
          {
            "creationTime": 0,
            "deletedAt": "2024-01-01T00:00:00.000Z",
            "department": "example-string",
            "domainFid": "example-string",
            "domainId": "example-string",
            "domainName": "example-string"
          }
        ]
      ],
      "pageInfo": {
        "endCursor": "example-string",
        "hasNextPage": true,
        "hasPreviousPage": true,
        "startCursor": "example-string"
      }
    }
  }
}