Skip to content

userGroups

Cursor-paginated user groups owned by the current user.

Arguments

keywords · String · Search over user group name. Blank values are ignored.
filters · UserGroupQueryFiltersInput · Filter criteria for the returned user groups.
check_group_level_actions · Boolean · Return no groups unless the current user's organization membership allows group level actions
order_by · UserGroupOrderKeys · Sort order key for the returned user groups.
after · String · Returns the elements in the list that come after the specified cursor.
before · String · Returns the elements in the list that come before the specified cursor.
first · Int · Returns the first _n_ elements from the list.
last · Int · Returns the last _n_ elements from the list.

Returns

UserGroupPaginationConnection

Example

query userGroups(
$keywords: String
$filters: UserGroupQueryFiltersInput
$check_group_level_actions: Boolean
$order_by: UserGroupOrderKeys
$after: String
$before: String
$first: Int
$last: Int
) {
userGroups(
keywords: $keywords
filters: $filters
check_group_level_actions: $check_group_level_actions
order_by: $order_by
after: $after
before: $before
first: $first
last: $last
) {
edges
nodes
page_info
total_count
}
}