The method ametys:groups() returns the identifier of the group. For groups in Mysql that returns '1', '2' .. It might be interesting to have the name.
ametys:groups() returns now a node list as following:
<group name="1">Groupe 1</group> <group name="2">Groupe 2</group>
ametys:groups() returns now a node list as following: