GraphQL: Enterprise cloud user query - Hint needed #49491
-
Select Topic AreaQuestion BodyI am currently trying my hand at graph queries with enterprise cloud. Retrieving the organizations of enterprise cloud is easy...
But how to retrieve the members? (without SAML provider) (Or how to check if a specific user is enterprise member).
Anybody have a hint? |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
Hello @SayedAlAhlMohamed,
|
Beta Was this translation helpful? Give feedback.
-
Sorry @SayedAlAhlMohamed, |
Beta Was this translation helpful? Give feedback.
-
Anyone else a hint? |
Beta Was this translation helpful? Give feedback.
-
found this issue today and how to get it working Then the query looks like this
This gets the first two Enterprise organizations for each Enterprise Member Then to get the result |
Beta Was this translation helpful? Give feedback.
found this issue today and how to get it working
firstly you need to have the correct authention scopes
I am using GH CLI and this gets the correct tokens
gh auth login -p https -h GitHub.com -s repo,user,admin:enterprise,admin:org -w
Then the query looks like this