为用户分配角色 [英] Assigning roles to users

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

问题描述

我在asp.net中有一个页面,我想将ser分配给特定权限(例如,administrator =>查看统计信息),其他用户无法访问该角色.我正在使用活动目录,所以我不知道代码是相同还是不同.请给我我的代码,thanx.

http://msdn.microsoft.com/en-us/library/ff648345.aspx [ ^ ]


I have a page in asp.net that i want to assign ser to a specific rights(e.g administrator => view statistics), and other users can not have access to that role. I am using the active directory so i don''t know if the code is the same or different. Please may i have the code, thanx.

解决方案

Hello dude can u use this link for helpful implement membership


http://msdn.microsoft.com/en-us/library/ff648345.aspx[^]


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

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