How to extract all the groups that the user is in using graphql

I want to extract all the groups that the user is in, i have used valid authorization and correct GraphQL Endpoint, but i am not being able to extract all the groups that the user is in, while i am being able to extract all the projects the group has, with the code below
{
group(fullPath: “PutYourGroupName”){
projects(first: 100){
pageInfo {
endCursor
hasNextPage
}
edges{
node {
name
id
}
}
}
}
}, but i need the list of groups, not the projects