Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有没有办法让我网站的管理员用户管理其他用户的角色。我看到了 asp.net 会员工具,但这似乎只适用于该网站的开发人员。我想要一种情况,我可以给一个用户管理员角色,让他管理其他用户的所有其他角色详细信息,这样他们就不必再找我进行权利更改
ASP.net 成员资格提供程序和角色管理器都提供 API,使您可以非常简单地推出自己的管理应用程序。
会员 API
角色管理器 API
不幸的是,您必须自己编写或购买组件。默认的 Membership 提供者有一个有据可查的 API,因此如果您只想允许用户管理角色,这应该不会太难。