动态角色管理 [英] dynamic role management
本文介绍了动态角色管理的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我怀疑v可以通过c#在asp.net中动态定义角色吗?如果可以,怎么办?
>>在这种情况下,如果我要在网站上注册,则必须获得经理角色,而得不到ASP网站管理员工具的帮助.
>>如果我要创建自己的登录和注册页面,并且不使用asp管理工具,那么我将创建自己的数据库,我该如何在程序中引用该数据库来检查用户的凭据? div class ="h2_lin">解决方案
创建自定义角色管理器-或使用现有的角色管理器并添加管理器角色: ^ ]
你能教化吗?
创建一个自定义角色管理器-或使用现有的角色管理器并添加一个管理器角色:MSDN [^]无法获取所需的答案
Hi , I have a doubt can v define roles dynamically in asp.net by c#? If so how can v do it ?
>>for the case , if i am registering with the site , i have to be provided with manager role without getting the help from asp website administrator tool .
>>if i am going to create my own login and registration page and i wont use asp administrative tool then i ll create a database of my own , how should i refer it in my program to check the credentials of the users?
解决方案
Create a Custom Role Manager - or use the existing one and add a Manager Role: MSDN[^]
can u edify?
Create a Custom Role Manager - or use the existing one and add a Manager Role: MSDN[^] cant get the required ans
这篇关于动态角色管理的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文