Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Log in to OpenMRS.

  2. Set the global property numberGP_NUMBER_ofOF_daysDAYS_toFOR_autoAUTO_retireRETIRING_usersUSER:

    • Find global property GP_NUMBER_OF_DAYS_FOR_AUTO_RETIRING_USER.

    • Enter the desired number of days of inactivity after which a user users should be retired.

    • Save the changes.

...

The auto-deactivating user task is implemented as a scheduled task in OpenMRS. This task will automatically retire users who have been inactive for the specified number of days.

Note: Admin users (aka super users) will not be retired.

Implementation

The task is defined in the AutoRetireUsersTask class.

...