Hello,

I'm trying to make a loginscript for a school. At the point of logging in, the script must find the group the user is a member of and run a second script (call function i've read.)

I'm trying but it wont work to get a second script running. (the first script "log.kix" goes ok.)
here is the script:

$userid="1"

If Ingroup("klas-awebb") = 1
call "\\server1\login\log.kix"
else
Endif
If Ingroup("klas") = 1
call "\\server1\login\log.kix"
else
Endif
If Ingroup("klas-awebo") = 1
call "\\server1\login\log2.kix"
else
Endif

It's a win2k enviroment.
Mabye it's very simple but i can't find on the forum and i'm very new whit this so please help.