ASP.NET中的角色和配置文件之间有什么区别? [英] What are the difference between roles and profiles in ASP.NET ?
本文介绍了ASP.NET中的角色和配置文件之间有什么区别?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好,
请问谁能告诉我asp.net中角色和个人资料之间有什么区别?
在此先谢谢您.
Hi all ,
Please can anyone tell me what is the difference between roles and profiles in asp.net ?
Thanks in advance.
推荐答案
在此处 [ ^ ].确实最好通读文档以完全了解发生了什么.
Start here[^]. It really is best to read through the docs to fully understand what is going on.
配置文件-具有登录用户/已验证用户的所有属性.
角色-根据分配给您的权限进行分组.例如,管理员是一个角色.
Profile - has all the properties for a logged in user/ authenticated user.
Roles - group based on the permission assigned to you. For e.g Admin is a role.
ASP.NET配置文件属性概述
实现角色提供程序
全部在这里
ASP.NET Profile Properties Overview
Implementing a Role Provider
All Here
这篇关于ASP.NET中的角色和配置文件之间有什么区别?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文