github / github/platform-samples

find nameId of specific user with a given loginid in org

Aperta
#414 3 commenti 3 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Shell
Stelle
2.2k
Fork
1.9k
Merge medio
7g 19h
PR unite (30g)
1

Descrizione

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
}
}
}
}
}
```

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Start with the Users GraphQL query included in the issue and inspect the relevant organization external-identities fields. Determine whether the query can target a specific login and document the resulting query or limitation, including how it returns that user's nameId.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
graphql
Ambito
api
Tipo di issue
Documentazione
Difficoltà
5/5
Tempo stimato
Più di una settimana
Stato di attività
Ferma
Chiarezza
Da chiarire
Idoneità per principianti
25/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.