github / github/platform-samples
find nameId of specific user with a given loginid in org
- 主要语言
- 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 还没有评估数据。