protected function getActiveProfile() { $this->initEndpoint(); return ["active_profile" => $_SESSION['glpiactiveprofile']]; }