github / github/platform-samples
find nameId of specific user with a given loginid in org
- Lenguaje dominante
- Shell
- Estrellas
- 2.2k
- Forks
- 1.9k
- Merge medio
- 7 d 19 h
- PR fusionados (30 d)
- 1
Descripción
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
}
}
}
}
}
```
Guía de contribución
Evaluación
Este issue todavía no se ha evaluado.