Collections functions
Encryption functions
General functions
Render functions
Theme permission functions
Video functions
Resource functions

emulate_user()

Description

Used to emulate system users when accessing system anonymously or via external shares
Sets global array such as $userpermissions, $username and sets any relevant config options

Parameters

ColumnTypeDefaultDescription
$user int User ID
$usergroup int "" usergroup ID

Return

void

This article was last updated 28th February 2021 15:05 Europe/London time based on the source file dated 11th February 2021 16:30 Europe/London time.