github / github/platform-samples
find nameId of specific user with a given loginid in org
- Vorherrschende Sprache
- Shell
- Sterne
- 2.2k
- Forks
- 1.9k
- Ø Merge
- 7 T. 19 Std.
- Gemergte PRs (30 T.)
- 1
Beschreibung
The query [1] will list all users with samlIds in the org, but how can I craft the query to search for a user with a specific `login`?
[1]
```
query Users($org: String!, $first: Int = 100, $after: String) {
organization(login: $org) {
samlIdentityProvider {
externalIdentities(first: $first, after: $after) {
edges {
node {
guid,
samlIdentity {
nameId
}
user {
login
}
}
}
pageInfo {
hasNextPage
endCursor
}
}
}
}
}
```
Beitragsleitfaden
Bewertung
Dieses Issue wurde noch nicht bewertet.