Azure Active Directory为组中的用户分配角色

发布于 2025-01-28 10:38:03 字数 128 浏览 3 评论 0原文

我正在制作一个应用程序,用户可以加入多个Azure组。这很好。但是用户应该只能在该特定组中扮演角色。因此,用户可以在不同的组中具有不同的角色。

有人知道我如何分配仅在组中存在的角色吗? 然后通过图API在特定组中获得用户的角色?

I am making an application where users can join multiple azure groups. This works fine. But a user should be able to have a role only within that specific group. So a user can have different roles in different groups.

Does anyone know how I can assign roles that only exist within a group?
and then get the role for a user within a specific group via the graph api?

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

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

发布评论

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

评论(1

情栀口红 2025-02-04 10:38:03

要将角色分配给用户,请“ 添加目录角色成员”,以分配组中的特定角色。

有关您可以分配给用户的不同类型的角色,请参考“ azure ad内置角色

希望这会有所帮助。

To Assign the role to a user please "Add directory role member"to assign a particular role in a group.

For different types of roles that you can assign to a user please refer "Azure AD built-in roles"

Hope this helps.

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