/** * Sets the given user as the authenticatable user for this session. * * @param IAuthenticatable The user object that has authenticated */ protected function SetCurrentUser(IAuthenticatable $user) { $this->_cu = $user; Authenticator::SetCurrentUser($user, $this->GUID); // assign some global variables to the view $this->Assign("CURRENT_USER", $this->GetCurrentUser()); }