You are not logged in.
Pages: 1
Topic closed
good morning,
I was looking for some way to get the profile that the user who is browsing in a form of glpi,
something like SESSION: getProfile or something like that
sabeis if something like that exists?
Thank you very much.
Offline
Bonjour
De mémoire, c'est dans $_SESSION['glpiactive_profile'] ou quelque chose d'approchant. Utilisez le mode debug de GLPI pour visualiser une session. Vous trouverez assez facilement
No support with MP - Always run an upgrade task on a testing instance before running it on production! Always backup before any upgrade task!
Offline
Thank you very much, I found it, it's in $_SESSION['glpiactiveprofile']['id'].
Last edited by Marvis (2018-03-16 11:05:25)
Offline
Pages: 1
Topic closed