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.

Parameters:
boolean $createIfMissing creates system user if its missing
Returns:
User $user
Exceptions:
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 Mon Dec 18 07:10:23 2017