Skip to content

Commit 63a66e7

Browse files
authored
Update and rename 12-members-with-scim-identity-org.graphql to members-with-scim-identity-org.graphql
1 parent 54b41d5 commit 63a66e7

File tree

2 files changed

+28
-24
lines changed

2 files changed

+28
-24
lines changed

graphql/queries/12-members-with-scim-identity-org.graphql

Lines changed: 0 additions & 24 deletions
This file was deleted.
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# For GitHub Enterprise Cloud organizations that have SAML and SCIM provisioning configured at the organization level, this query will print out a list of the first 100 SCIM identities (specifically the `username` attribute value in these SCIM identities) in the organization.
2+
# The query will also print out the linked GitHub username, if the SCIM identity is linked to a user. A SCIM identity can be unlinked if a user has not logged in with their GitHub.com user account, accepted the invitation and authenticated via SAML to link their SAML/SCIM identity.
3+
# This query will not print out a SCIM identity (`username` attribute) for members if an organization is not using SCIM provisioning, or if a user does not have a linked SCIM identity.
4+
5+
6+
query ($organization: String!) {
7+
organization(login: $organization) {
8+
samlIdentityProvider {
9+
ssoUrl
10+
externalIdentities(first: 100) {
11+
edges {
12+
node {
13+
user {
14+
login
15+
}
16+
scimIdentity {
17+
username
18+
}
19+
}
20+
}
21+
}
22+
}
23+
}
24+
}
25+
26+
variables {
27+
"organization": "github"
28+
}

0 commit comments

Comments
 (0)