Posted on: 3/31/2011 8:41:15 PM | Views : 723

Hi,
I've an ASP.NET MVC web site and I'm using AspNetSqlProvider  to configure Secutiry
So, I runned aspnet_regsql command to create and configure aspnetdb database  that hold users, roles , etc....
I use the asp.net application web management to create roles, users , etc...   Ok
But I would like to create roles at runtime :
- If a new user visit my application, I would like to register it as a user and affect it a role ( Visitors)
- If a seller N visit my application, I would like to create a role ( seller N) to register the vositor as admin of seller N
- ........
How can we manager this scenario using my configured database aspnetdb  ?
Have you any links ?
Best regards
...

Go to the complete details ...