BaseControlUserConfigUtil Class Reference

Static Public Member Functions

static getUserToRunAs ($createIfMissing=true)

Data Fields

const USERNAME = 'backendjoboractionuser'

Detailed Description

Definition at line 37 of file BaseControlUserConfigUtil.php.

Member Function Documentation

static getUserToRunAs ( createIfMissing = true  )  [static]

When running a special action or a job an elevated user must be used in order to ensure the activities can be processed properly.

boolean $createIfMissing creates system user if its missing
User $user
NotFoundException if backend user can not be found and $createIfMissing is false

Definition at line 48 of file BaseControlUserConfigUtil.php.

The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Sat Jan 18 07:10:52 2020