Skip to content

userGroups

Fetch paginated user groups collection

Arguments

check_group_level_actions · Boolean · checks the allow_group_level_actions permission on org membership
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
$check_group_level_actions: Boolean
$sort_by: String
$order_by: UserGroupOrderKeys
$after: String
$before: String
$first: Int
$last: Int
) {
userGroups(
keywords: $keywords
check_group_level_actions: $check_group_level_actions
sort_by: $sort_by
order_by: $order_by
after: $after
before: $before
first: $first
last: $last
) {
edges
nodes
page_info
total_count
}
}