OBJECT

UserQuery

link GraphQL Schema definition

  • type UserQuery {
  • # Fetch information for the logged in user
  • currentUser: User!
  • # Query UserPrefs optionally filtering by entityId and/or preference name
  • #
  • # Arguments
  • # entityId: [Not documented]
  • # name: [Not documented]
  • queryUserPrefs(entityId: [EntityId!], name: [String!]): [UserPref!]
  • # Arguments
  • # after: Return records after the given cursor, as per GraphQL
  • # Relay spec
  • # before: Return records before the given cursor, as per GraphQL
  • # Relay spec
  • # cspProjectId: Optional CSP Project ID to list the users
  • # belonging to the project
  • # first: Return first N records in a paged response, as per
  • # GraphQL Relay spec
  • # searchTerm: Optional Search criteria to search for users by
  • # their first name, last name and email. Requires admin privileges as this is
  • # typically used for user assignments
  • searchUsers(
  • after: String,
  • before: String,
  • cspProjectId: String,
  • first: Int,
  • searchTerm: String
  • ): UserConnection!
  • }

link Require by