0

Add "extract" from licenses users

Yannick il y a 8 ans mis à jour il y a 8 ans 1

Hello


It would be useful to add possibility to extract the list of users with their departments to csv or slk

Hello

I done it myself, I give you the code to insert. Using fp software plugin

add in common.class.php

242 glpi_groups.name AS usergroupname,

251 INNER JOIN glpi_groups_users
ON (glpi_users.id = glpi_groups_users.users_id)
INNER JOIN glpi_groups
ON (glpi_groups_users.groups_id = glpi_groups.id)
256 ORDER BY glpi_groups.name, glpi_users.name

290 'usergroupname' => __('Group'),);