I am finding difficulties in getting this script to run successfuly. I want a different drive to be map for users depending on the group they belong to in the domain so i write this simple code but it does not work at all. Below is the script

IF INGROUP("ITDEPT")
USE T: "\\SERVER1\APPS"

ELSE

IF INGROUP("FINANCE")
USE P: "\\SERVER3\ACCOUNTS"

ELSE

IF INGROUP("SURPAC USERS")
USE G: "\\SERVER9\DATA"

ELSE ENDIF


BUT when a user in one of these groups logs on to the domain, he does not get the map drive. Hope somebody can really help me to sort this please


Regards
Edmund