Managing permanent user accounts

In your 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”.

StepsTo edit, delete, or unlock 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”.

    The Welcome page for an administrator role has a hyperlink labeled Users that opens a page to manage users.

  3. Click the Users hyperlink, then click the Search button in the page to manage users.

    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 displays. An Unlock User button appears on this page only 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.

    The page for editing and deleting user accounts has buttons to update the user information, unlock the user, or delete the user.  You can change the user role, the user’s listed e-mail address, and enter a new password for the user.
  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.