Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Dec 15, 2009 03:32 AM by evgelen
Dec 05, 2009 01:32 PM|LINK
Hi could you give me please step by step guides how to add a new user with administrator's rights or change the user who already exists.
Thank you in advance
Dec 05, 2009 02:00 PM|LINK
If you are just starting out then it will benefit you to visit the vidoes section in the learn area of this site. The following link leads to a basic video on asp.net's membership utility. It does all of the coding for you, and after a little head scratching
works very well.
This video will more thoroughly explain how to set up the sql database that the embership utility uses:
Dec 07, 2009 03:39 PM|LINK
I found a piece of code set in a zip file. All you have to do is register yourself through your normal website registration.
Put the users.aspx file in your root folder so anyone can access it, type the location your browser, and change your login Id from guest to Admin.
AND THE MOST IMPORTANT PART IS AFTER YOU HAVE CHANGED YOURSELF, MOVE THAT FILE TO A PROTECTED AREA OF YOUR SITE.
I wish I could take credit for writing the code but it was done by TomT, great piece of code.
Go here http://forums.asp.net/t/1110595.aspx the link for the users.aspx file is at the bottom of the first post.
And there you go.
Dec 15, 2009 03:32 AM|LINK
Thank you it works great. :)