I have a problem defining user groups whist attempting to logon.
Rather that have 3 or 4 scripts for users to use I would like to use on script that is able to find out which users are in which users group, so as to map appropriate network drives i.e.
if ingroup("EVERYONEX"
"net use H: \\server\Common /PERSISTENT:no"
"net use T: \\server\APPS /PERSISTENT:no"
"net use P: \\server\Plots /PERSISTENT:no"
SET "PATH=%PATH%P:\;T:\;"
SET "USER=%usernsme%"
SET "SITE=LONDON"
endif
if ingroup("test"
"y:\instA.bat"
endif
I was under the assumption that 'ingroup' was part of NT Servers security policy or in there another way?
Rather that have 3 or 4 scripts for users to use I would like to use on script that is able to find out which users are in which users group, so as to map appropriate network drives i.e.
if ingroup("EVERYONEX"
"net use H: \\server\Common /PERSISTENT:no"
"net use T: \\server\APPS /PERSISTENT:no"
"net use P: \\server\Plots /PERSISTENT:no"
SET "PATH=%PATH%P:\;T:\;"
SET "USER=%usernsme%"
SET "SITE=LONDON"
endif
if ingroup("test"
"y:\instA.bat"
endif
I was under the assumption that 'ingroup' was part of NT Servers security policy or in there another way?