成员资格和角色管理 [英] Membership and Role Management

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

问题描述

我是asp.net的初学者,所以我不了解网站开发的成员资格和角色管理,因此,请向我发送源代码,并提供在sqlserver数据库上而不是aspnetdb数据库中的asp.net中手动创建角色的步骤.
Thankyou

I am beginers of asp.net so i have no idea about membership and role management for website development so kindly send me source code with steps to create manually role in asp.net on my sqlserver database not in aspnetdb database.
thankyou

推荐答案

我给您链接,我认为它将为您提供帮助

ASP.NET成员资格和角色提供者 [自定义成员身份,角色提供者,网站管理工具以及对单个文件的基于角色的访问 [ ^ ]
i give you links i think it will help you

ASP.NET Membership and Role Provider[^]

Custom Membership, Role Providers, Website administration tool, and Role based access to individual files[^]


没有人会为您提供源代码,因为在基本情况下,一件事并没有太多(主要是通过配置完成),还有更多复杂的将太多.在这样的站点中,仅要求代码是不礼貌的,因为我们都是志愿者,而不是在这里从事其他人的工作.
我建议您使用google来了解如何执行此操作,这里有很多示例和教程.
我建议您从这里开始,这里有很多精彩的视频:
http://www.asp.net/web-forms/videos/authentication [ ^ ]

另外相关的教程也很好:
http://www.asp.net/web-forms/tutorials/security [ ^ ]
No-one is going to give you the source code for this, for one thing in basic cases there isn''t very much (mostly done by configuration) and for more complex ones it will be too much. It is considered rude in sites such as this to just ask for code, as we are all volunteers and not here to do other people''s work.
I suggest you google for how to do this, there are lots of examples and tutorials.
I suggest you start here, there is an excellent set of videos:
http://www.asp.net/web-forms/videos/authentication[^]

Also the related tutorials are good:
http://www.asp.net/web-forms/tutorials/security[^]


请参阅一些好文章:
了解ASP.NET角色和成员资格-入门教程 [ ^ ]
检查ASP.NET的成员资格,角色和配置文件-第1部分 [如何:在ASP.NET中使用成员身份 [会员资格 [成员资格简介 [
Please refer some good articles:
Understanding ASP.NET Roles and Membership - A Beginner''s Tutorial[^]
Examining ASP.NET''s Membership, Roles, and Profile - Part 1[^]

Some more:
How To: Use Membership in ASP.NET[^]
Membership[^]
Introduction to Membership[^]


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

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