通过Azure Devops Server 2020(本地)REST API列出用户

发布于 2025-02-08 06:24:33 字数 278 浏览 3 评论 0原文

在线标准答案似乎是使用身份。这被删除了吗?无论查询复杂性如何,从基本列表到特定ID,我的响应都返回404。 真的可以通过REST API获取用户的支持端点吗?

The standard answer online seem to be to use Identities. Has this been removed? My response regardless of query complexity, from basic list to with specific ID, returns 404.
Can it really be that there is no supported endpoint of getting users via the REST Api?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

ペ泪落弦音 2025-02-15 06:24:33

您可以使用用户列表在给定范围中获取所有用户的列表。

要使REST API在Azure DevOps中列出用户,您可以按照以下语法列出:

GET https://vssps.dev.azure.com/{organization}/_apis/graph/users?api-version=6.0-preview.1

它将返回用户提供特定的详细信息。

You can use Users-List to get a list of all users in a given scope.

For the REST API to list Users in Azure DevOps, you can follow the below syntax:

GET https://vssps.dev.azure.com/{organization}/_apis/graph/users?api-version=6.0-preview.1

It will return the users with specific detailed information.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文