Skip to main content

searchUsers

Deprecated

Use Query.users instead

Lists Users

Arguments

afterString

A cursor to search after (only include first & after or last & before)

beforeString

A cursor to search before (only include first & after or last & before)

byAvailabilityUserAvailabilityFilter

The availability to filter results

byStatusUserStatusFilter

The status to filters results

firstInt

The number of results to fetch when searching forward (only include first & after or last & before)

hasProfilePictureBoolean

Whether to include only users with profile pictures

lastInt

The number of results to fetch when searching backward (only include first & after or last & before)

memberOfTeamIds[ID!]

A Team ID to filter results by

searchString

A search query to filter results

sortBySortUsersBy

The sort key

sortDirSortDirection

The sort direction

typeUserType

The type to filters results

Returns

UserConnection!
A connection to a list of items.