github / github/platform-samples

find nameId of specific user with a given loginid in org

未关闭
#414 3 条评论 3 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Shell
星标
2.2k
派生
1.9k
平均合并
7 天 19 小时
30 天内合并 PR
1

描述

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

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。