在asp.net中创建角色 [英] Creating roles in asp.net

查看:62
本文介绍了在asp.net中创建角色的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要在asp.net中创建角色的完整参考.因为我没有任何想法.在我的应用程序中,只有管理员可以创建用户并向用户提供用户名和密码以登录系统.我正在使用MySQL数据库.请从最初的过程中帮助我.
谢谢

谢谢您的回复.
例如让我们扮演2个角色admin和user.您可以指导我如何根据此角色来更新配置文件.

I need a full reference for creating roles in asp.net. because i don''t have any idea. In my application only the admin can create the users and provide the username and password to the users to login in to the system. i am using MySQL database. please help me from initial process.
thank you

thank you for your reply..
for example lets take 2 roles admin and the user. can you guide me how to update the config file according to this roles.

推荐答案

应用程序的角色由您决定.您应该知道应该控制或限制哪些功能.
The roles for your application are up to you to define. You should know what features that should be controlled or restricted.


这篇关于在asp.net中创建角色的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆