I am using the built in authentication in ASP.Net.
I want to make it so that when users register they are automatically added in a role that I created. How do I do this?
I am using the built in authentication in ASP.Net. I want to make it
Share
I assume you use the default Asp .Net membership and role providers. If you use
CreateUserWizard, inOnCreatedUserhandler you can simply execute something like this: