maybe i'm wrong, but i think ingroup() fonction is used to see if the current user is member or not.

In my case, i want to see if the users who are in my text file are (or not) members of group1 and group2 (text file : user;group1;group2)


My script is not launch with the loginscript.