Skip to content

o365TeamPostedBy

SearchTeamPostSenders returns the users who have posted in the given Teams workload, paginated.

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.
snappableFid (required) UUID! The FID for the Teams workload.
o365OrgId (required) UUID! The FID for the O365 organization.
nameFilter String Optional display-name filter for post senders.

Returns

O365TeamConversationsSenderConnection!

Sample

query O365TeamPostedBy($snappableFid: UUID!, $o365OrgId: UUID!) {
  o365TeamPostedBy(
    snappableFid: $snappableFid
    o365OrgId: $o365OrgId
    first: 10
  ) {
    nodes {
      displayName
      naturalId
    }
    pageInfo {
      hasNextPage
      endCursor
    }
  }
}
{
  "snappableFid": "00000000-0000-0000-0000-000000000000",
  "o365OrgId": "00000000-0000-0000-0000-000000000000"
}
{
  "data": {
    "o365TeamPostedBy": {
      "nodes": [
        [
          {
            "displayName": "example-string",
            "naturalId": "example-string"
          }
        ]
      ],
      "pageInfo": {
        "endCursor": "example-string",
        "hasNextPage": true,
        "hasPreviousPage": true,
        "startCursor": "example-string"
      }
    }
  }
}