Managing Permanent User Accounts

In an administrator role, in addition to creating permanent user accounts, you can edit, delete, and unlock accounts, and you can reset user passwords.

To perform any of these tasks, you must first set up your Web site membership provider as described in the procedure for Creating Permanent User Accounts.

  1. Open the Login.aspx file for the Web Forms application in a Web browser.
    The full URL for this file is typically http://ServerName/ApplicationName/Login.aspx. The Login page displays.
  2. On the Login page, log in with an admin role account.
    The default login for an admin account is described in the procedure for Creating Permanent User Accounts.
  3. Click the Users hyperlink, then in the page to manage users, click Search.
    The page for managing users displays the application users in the permanent user database.
  4. Click the Edit hyperlink for a user in the list of user accounts.
    The page for editing and deleting user accounts appears. This page also includes an Unlock User button when a user is locked out. Lockouts occur when the number of attempts to log in with a faulty password exceeds the number of attempts authorized by the MaxInvalidPasswordAttempts parameter in the application web.config file.

  5. Enter any changes you want for the user role or e-mail, and click Update User to apply those changes.
    The Update User button also applies your selections for whether the membership user can be authenticated (Enable check box) and whether the user has administrative privileges (Admin Role check box).
  6. If you want to change the user password, enter a new password for the user account and click Reset Password to apply the change.
  7. If the selected user account is currently locked, click Unlock User to unlock the account and allow the user to log back in.
  8. If you want to remove the current user account from the permanent user database, click Delete User.
  9. Repeat steps 4-8 for all the user accounts you want to edit, delete, or unlock.
  10. Click the Logout hyperlink to log out of your user management role.