Collections functions
General functions
Node functions
Render functions
Theme permission functions
User 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 8th May 2024 21:35 Europe/London time based on the source file dated 7th May 2024 18:45 Europe/London time.