Extend ASP Identity Role to add group(company)

痞子三分冷 提交于 2019-12-23 02:44:11

问题


How can I extend ASP Identity 2.2 Roles, to support isolated roles in their own groups, such as company1, company2 etc.

I am trying to scope and limit roles to a Company, such that each company can administer their own roles and have similarly named roles - under the company purview only.

I looked around and could not find a simpleway to extend the roles

In the samples, while it shows how to extend user profiles easily, it fails to do so on the roles side of the house!

来源:https://stackoverflow.com/questions/33446114/extend-asp-identity-role-to-add-groupcompany

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!