asp.net 会员资格 - 让管理员用户根据角色管理站点

发布于 2024-07-30 00:12:21 字数 132 浏览 3 评论 0原文

有没有办法让我网站的管理员用户管理其他用户的角色。 我看到了 asp.net 会员工具,但这似乎只适用于该网站的开发人员。 我想要一种情况,我可以授予一个用户管理员角色,并让他管理其他用户的所有其他角色详细信息,这样他们就不必回来找我进行权利更改

is there a way i can let the admin users of my site manage roles of other users. I see the asp.net membership tool but that seems to be just for developers of the site. i want a situation where i can give one user admin role and let him manage all of the other role details of the other users so they dont have to come back to me for entitlement changes

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

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

发布评论

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

评论(2

写下不归期 2024-08-06 00:12:22

ASP.net 会员资格提供程序和角色管理器都提供 API,使您可以非常轻松地推出自己的管理应用程序。

会员 API

角色管理器 API

Both the ASP.net membership provider and Role manager provide APIs which make it very simple to roll you own management app.

Membership API

Role Manager API

往昔成烟 2024-08-06 00:12:22

不幸的是,您必须自己编写或购买组件。 默认的会员资格提供程序有一个记录良好的 API,因此如果您只想允许用户管理角色,那么这应该不会太困难。

Unfortunately you'll have to write it yourself or buy a component. The default Membership provider has a well documented API so it shouldn't be too difficult if you just want to allow users to manage roles.

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