Salam , Where roles are saved ?
-
Salam , iwas wondering , we always say if "Jhon" Is in role "Admin" then ' Do something Here End if but how those roles are stored & where ? i mean when we open the asp.net configuration site when we defione roles , where those roles are stored ? i hope you understood the question , i just don't know how system knows that somebody has some role how it knows it ? where he can find the list of roles that we have ? thank you
try to be good if you can't be the best
-
Salam , iwas wondering , we always say if "Jhon" Is in role "Admin" then ' Do something Here End if but how those roles are stored & where ? i mean when we open the asp.net configuration site when we defione roles , where those roles are stored ? i hope you understood the question , i just don't know how system knows that somebody has some role how it knows it ? where he can find the list of roles that we have ? thank you
try to be good if you can't be the best
salam duste aziz. age soalet ro vazeh tar begi mitunam komaket konam
We Can Do Anything, If We Want It
-
Salam , iwas wondering , we always say if "Jhon" Is in role "Admin" then ' Do something Here End if but how those roles are stored & where ? i mean when we open the asp.net configuration site when we defione roles , where those roles are stored ? i hope you understood the question , i just don't know how system knows that somebody has some role how it knows it ? where he can find the list of roles that we have ? thank you
try to be good if you can't be the best
Hi there, The information about roles, userIDs, Passwords, and profiles is stored in a SQL Database called ASPNETDB.mdf . You can find this DB by clicking on the App_Data folder in your solution explorer. Now where does this DB come from automatically? It's not magic. Whenever you set the authentication mode in the Configuration utility, An ASPNETDB is created and all the information about roles and userIDs etc, is stored in this Database. And whenever you say that this role should do this, it is from this DB the data is fetched. Hope it helps.
You don't have to be AFRAID!