You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2021-05-03 16:50:48

joao_goncalves2021
Member
Registered: 2021-05-03
Posts: 3

API GET Users inside group

Hello,

I'm trying to make an API request to list the Users inside a specific group. I can list groups inside a specific user but not the other way around.
So far, I've tried using the following links without success.

https://*ip*/glpi/apirest.php/search/Group?is_deleted=0&as_map=0&criteria[0][link]=AND&criteria[0][field]=13&criteria[0][searchtype]=contains&criteria[0][value]&search=Search&itemtype=User&start=0&expand_dropdowns=true

https://*ip*/glpi/apirest.php/group/*groupid*/user

This would be helpful because I'm doing an automation that involves LDAP users and groups.
I'm using GLPI 9.5.4.

Thanks in advances,

Offline

#2 2023-04-14 22:25:42

colla
Member
Registered: 2023-04-14
Posts: 1

Re: API GET Users inside group

Hi,

get all users from group:

https://*ip*/glpi/apirest.php/group/*groupid*/Group_User

Offline

Board footer

Powered by FluxBB