Click here to Skip to main content
15,896,912 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
hai using role.AddUserToRole adding user is done in the code where can see the table or wat is the table in the database where the user is added
Posted

Hi,

Roles.AddUserToRole adds user to role in aspnet_Roles table in the database in which you have configured membership.

Refer to this article:
http://deepak-sharma.net/2012/02/05/how-to-configure-asp-net-membership-using-sqlmembershipprovider/[^]
 
Share this answer
 
it will be availabe aspnetdb a default database in the sqlserver.so we can find this to the database to which we configured in our project.Eg:Sqlprovider connection string
 
Share this answer
 

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