listUsers

Topics: Admin IAM

List users with pagination and filtering. Requires user:list permission.

Returns

UserConnection!

Arguments

first

IntOptional

Number of items from the start

last

IntOptional

Number of items from the end

after

StringOptional

Cursor to start after

before

StringOptional

Cursor to start before

Filter criteria

Sort order

Exact field SDL
"""
List users with pagination and filtering. Requires user:list permission.
"""
listUsers(
  """Number of items from the start"""
  first: Int
  """Number of items from the end"""
  last: Int
  """Cursor to start after"""
  after: String
  """Cursor to start before"""
  before: String
  """Filter criteria"""
  filter: UserFilterInput
  """Sort order"""
  sort: [UserSortInput!]
): UserConnection! @topic(names: ["admin", "iam"])

Declared on Query. Access is checked by the platform for each operation.