关于角色和用户 [英] About roles and user

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

问题描述

我没有遇到.net中的登录表单.在这里,我想为四个用户创建登录名,并且我拥有一个母版页,其中有描述所有应用程序形式的菜单项.现在,我想向管理员"以外的用户隐藏一些菜单项...如何设置该登录凭据..am的新内容,以便plz帮助我提供一些链接和文章,以便我轻松找到.请帮助我进行回复...谢谢.....

I didnt met with the login form in .net. Here i want to create logins for four users and the i have a masterpage in which i hav menu items that describes all the forms of application.Now i want to hide some menu items from users other than "admin"...how i can set that login credentials..am new to this so plz help me with some links and articles where i can easily findout.Please help me with reply...Thanks.....

推荐答案

在这里看看.它会指导您完成该过程:成员资格简介 [
Have a look here. It guides you through the process: Introduction to Membership[^]


请参考:
关于如何使用ASP.NET中可用的成员资格和角色提供者的简要说明
ASP.NET成员资格和角色提供者 [自定义成员身份,角色提供者,网站管理工具以及对单个文件的基于角色的访问 [ ^ ]
Please refer:
Brief description of how to use the available Membership and Role Provider available in ASP.NET
ASP.NET Membership and Role Provider[^]

This article gives you details of Custom Membership and Role Providers, a website administration tool, and Role based access to individual files.
Custom Membership, Role Providers, Website administration tool, and Role based access to individual files[^]


您可以通过在应用程序中配置角色和成员资格来轻松实现此目的.这是一篇小文章,向您展示了如何完成此操作以及相同的一些理论基础.

了解ASP.NET角色和成员资格-入门教程 [ ^ ]
You can do this very easily by configuring roles and membership in you application. here is a small article that shows you how it can be done and some theoretical basics of the same.

Understanding ASP.NET Roles and Membership - A Beginner''s Tutorial[^]


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

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