Welcome Guest, Login
Image
RSS RSS

Navigation


Quick Search
»



If all users are locked out of CAREWare and no one is able to log in, then a database administrator could reset an administrator user account in the actual database due. In order to use this method and unlock the administrator account of CAREWare you will need access to a SQL manager such as Management Studio and access to the database.

To unlock a user account using a SQL manager:

  1. Connect to the CAREWare instance in the SQL Manager
  2. Locate the cw_user table
  3. Return all rows for the cw_user table
  4. Locate the user name in the column usr_user_name that you want to unlock
  5. Locate the usr_num_failed_login column for the user
  6. Change usr_num_failed_login from 3 to 0
  7. Copy the usr_pk for the desired user to unlock
  8. Locate the cw_user_domain_map table
  9. Return all rows for the cw_user_domain_map table
  10. Locate the usr_pk in the column usr_dm_usr_fk
  11. Change the usr_dm_locked column value from True to False for the user your are trying to unlock

It would be best to unlock an administrative user account first and specifically unlocked that account for the Central Administration domain. You could compare the cw_domain dmn_pk value for the Central Administration domain to the usr_dm_dmn_fk column in the cw_user_domain_map table in order to do so. Once the administrator account is unlocked they will be able to log in to CAREWare and use one of the unlocking methods to unlock the remaining users.

Back to Data Tier

Back to Frequently Asked Questions

jProg is a registered trademark of Jeff Murray's Programming Shop, Inc. All other products mentioned are registered trademarks or trademarks of their respective companies. Questions or problems regarding this web site should be directed to JeffMurray@jprog.com.

© 1998- Jeff Murray's Programming Shop, Inc. (jProg) , all rights reserved.