Skip to content

listLinkedEntitiesForGpo

Returns a paginated list of AD structural entities (OUs, Domains, Sites) linked to a specific GPO, along with GPO link details.

Arguments

Argument Type Description
first Int Returns the first n elements from the list.
after String Returns the elements in the list that occur after the specified cursor.
last Int Returns the last n elements from the list.
before String Returns the elements in the list that occur before the specified cursor.
filter ListLinkedEntitiesForGpoFilterInput Optional filter criteria for linked entities.
gpoId String Identifies the GPO whose linked entities to list.

Returns

LinkedEntityConnection!

Sample

query {
  listLinkedEntitiesForGpo(first: 10) {
    nodes {
      displayName
      enforced
      entityId
      entityType
      linkEnabled
      linkType
    }
    pageInfo {
      hasNextPage
      endCursor
    }
  }
}
{}
{
  "data": {
    "listLinkedEntitiesForGpo": {
      "nodes": [
        [
          {
            "displayName": "example-string",
            "enforced": true,
            "entityId": "example-string",
            "entityType": "ACCESS_POLICY",
            "linkEnabled": true,
            "linkType": "LINK_TYPE_DIRECT"
          }
        ]
      ],
      "pageInfo": {
        "endCursor": "example-string",
        "hasNextPage": true,
        "hasPreviousPage": true,
        "startCursor": "example-string"
      }
    }
  }
}