All Data Structures Functions Variables Pages
Static Public Member Functions | Data Fields
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)

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$createIfMissingcreates system user if its missing
User $user
NotFoundExceptionif 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:
Generated on Mon Apr 6 2020 07:10:50