#39839 - 2003-05-25 06:33 PM
Re: Logical OR/Ingroup
|
kzoo
Lurker
Registered: 2003-05-25
Posts: 1
Loc: bosnia
|
ok... i'm a REAL novice to KIX scripting... I most certainly see the benefit.. and with much practice hope to be able to take my training wheels off one day...
ok.. my question is how do i get the 'ingroup' function to work with remote computers? My environment is setup such that users execute a simple dos batch file which maps drives. I would like to add the flexibility to map according to group membership on a local server, not a domain controller. I can get 'ingroup' to work with either groups on the local computer or on the domain, but not on a stand-alone server.
The stand-alone server has all groups in place... and this server is not a member of the domain.
According to http://www.kixscripts.com/define.asp?id=54, it seems that all I need to do is use the following command:
IF INGROUP("\\SERVERNAME\SHARENAME") = 2
but I cannot get it to work.
Oh... I'm using kix ver. 4.21
Thanks in advance for your help... -cs
|
|
Top
|
|
|
|
Moderator: Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart
|
0 registered
and 2220 anonymous users online.
|
|
|