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

img1.gif

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.

img2.gif
img3.gif

All roles and used are saved in the xml files used by AspNet Xml Providers (~/AppData/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 me
See more about me and my works under ArtemBG | WebUtil.net

Last edited Aug 31, 2007 at 6:48 AM by velio, version 5

Comments

No comments yet.