Adding Pre-Defined Roles and Users*
When you need to add pre-defined roles and user, before to publish the web application just use the Visual Studio - Web Site\ASP.NET Configuration

This will start the Web Site Administration Tool for the selected web application where you easily and in a simple UI can manage you roles and users.


All roles and used are saved in the xml files used by AspNet Xml Providers (~/App
Data/Roles.config, ~/AppData/Users.config, ~/App_Data/Profile.config).
So, then just deploy those files on the next site publish. That's it ...
Happy coding ...Any smart ideas and comments are welcome.
Please do not hesitate to question meSee more about me and my works under
ArtemBG |
WebUtil.net