Click here to Skip to main content
15,921,351 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi all ,

Please can anyone tell me what is the difference between roles and profiles in asp.net ?

Thanks in advance.
Posted

Start here[^]. It really is best to read through the docs to fully understand what is going on.
 
Share this answer
 
Comments
Monjurul Habib 21-Jun-11 14:37pm    
nice link , my 5.
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.
 
Share this answer
 
Comments
mhamad zarif 21-Jun-11 11:52am    
Thanks that was great.So role is what users can access and profile is what he can do on the web.Right ?
Devi Ganesan 21-Jun-11 11:53am    
Role is used to decide what permission a user can have.
profile is used to tell who the user..

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900