0

Add "extract" from licenses users

Yannick 8 years ago updated 8 years ago 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'),);