在asp.net中为用户分配角色和特权 [英] Assigning roles and privileges for the user in asp.net

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

问题描述

大家好!
我正在做一个基于asp.net的项目.是结果自动化系统.在这种情况下,我必须给每个用户不同的特权以访问数据库.例如,员工正在处理特定班级的主题.在这种情况下,他只能查看他的班级详细信息.我想通过帮助授予查询知道我们可以在创建用户时授予特权.

Hi every body!
I am doing a project based on asp.net. It is result automation system . In this i have to give different privileges to every user for accessing the database. Example if the staff is handling a subject for a particular class. In this case he can view only his class detail . I want to know with help grant query we can give the privilege while creating the user.

推荐答案

检查这些博客
http ://weblogs.asp.net/scottgu/archive/2006/02/24/ASP.NET-2.0-Membership_2C00_-Roles_2C00_-Forms-Authentication_2C00_-and-Security-Resources-.aspx [ ^ ]
http://forums.asp.net/t/1378189.aspx/1 [ ^ ]
--NDK
check these blogs
http://weblogs.asp.net/scottgu/archive/2006/02/24/ASP.NET-2.0-Membership_2C00_-Roles_2C00_-Forms-Authentication_2C00_-and-Security-Resources-.aspx[^]
http://forums.asp.net/t/1378189.aspx/1[^]
--NDK


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

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