Azure Active Directory为组中的用户分配角色
我正在制作一个应用程序,用户可以加入多个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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
要将角色分配给用户,请“ 添加目录角色成员”,以分配组中的特定角色。
有关您可以分配给用户的不同类型的角色,请参考“ 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.