Getting $roleid and all group members $id

Getting $roleid and all group members $id

per Margarida ROMERO -
Nombre de respostes: 1
hi there!

I'm developping an ad hoc module (Time Awareness Tool), and I've two questions:

1, how to get the auth user $roleid

2, by using the auth user $id, how to get all group members $id (the list of id of his course group collegues)

Merci d'avance Somrient !

Best regards from Nimes,
margarida
Mitjana de qualificacions: -