Tags:

Parameters:

method setUser [line 180]

void setUser(
string
$username)

Sets the current authenticated user. Its roles will be fetched from the

current SecurityContainer Warning: for client plugins managing authentication, the setUser() or setUserAndRoles() MUST be called before or in the initialize() Plugin method. Otherwise, security constraints could be bypassed.