The new LoginView control at the top of (Remote web server)

The new LoginView control at the top of the Master Page is a big help in that regard. Because any time you open in a Web browser a page that uses that Master, you ll see your current status right away. If you re currently testing things out as an anonymous user, you ll see a Login link in the Master, as shown at the top of Figure 7-20. When you re testing things out as a logged-in user, you ll see Hello, your current user name, and a Logout link, as shown at the bottom side of that same figure. Keep in mind, too, that any user accounts that you create through the CreateUserWizard control are actual user accounts that will be stored in the database. You can view all current user accounts at any time via the Web Site Administration tool. Here s how: 1. From Visual Web Developer s menu bar, choose Website . ASP.NET Configuration. 2. In the Web Site Administration tool, click the Security tab. 3. Click Manage Users. 4. To see what role any user is in, click the Edit Roles link in that user s role. For example, in Figure 7-21 I created a new user account for a hypothetical user named Testy. Clicking the Edit Roles link for that user shows that the user has indeed been added to the SiteMembers role, as per the code added to the page to ensure that each new user is assigned to the SiteMembers role. Because there s no way to recover a forgotten password on your local PC, if you forget the password for any sample user account you create, your best bet would be to just delete the account by clicking the Delete User link next to the account name. Then you can re-create the account with a password you ll Figure 7-20: Login View control as seen by anonymous user (top) and authenticated users (bottom). Chapter 7: Working with ASP.NET Controls 147
Note: If you are looking for high quality webhost to host and run your jsp application check Vision florida web design services

Leave a Reply