Page tree
Skip to end of metadata
Go to start of metadata

As of OpenMRS 1.7.0, there is a user that exists in every person's database that is used as the "currently authenticated user" for certain tasks.  This user is called the daemon user and is effectively a "root" user.

Tasks run as the daemon user

  1. Module startup for the Module Activators
  2. While scheduled Scheduled Tasks are being executed

About the daemon user

  • The daemon user has all privileges
  • No one can log in as the daemon user
  • Only the few prescribed tasks can be run as the daemon user

How to use the daemon user

Use the methods on the Daemon class to call into the pre-prescribed methods

  • No labels