Page 1 of 1 1
Topic Options
#27100 - 2002-08-15 10:34 AM Ingroup function
Gerwin Lubbers Offline
Lurker

Registered: 2002-08-15
Posts: 3
Loc: Veenendaal, The Netherlands
On several Win9x-pc's, the ingroup-function doesn't work properly.
I'm using the following commands:

If InGroup(("PL") OR InGroup("TEK"))
Use F: "\\SERVER1\CAD"
Use K: "\\SERVER1\PRESENTATIE"
EndIf

The groups are local groups.
On de DC's, the KXRPC-service is running.

How can I fix it?

TIA

Gerwin

Top
#27101 - 2002-08-15 01:42 PM Re: Ingroup function
Howard Bullock Offline
KiX Supporter
*****

Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
If these are "local groups" then you will have to prefix them with the servername. something like:

If InGroup(("@Lserver\PL") OR InGroup("@Lserver\TEK"))
_________________________
Home page: http://www.kixhelp.com/hb/

Top
#27102 - 2002-08-15 02:13 PM Re: Ingroup function
Kdyer Offline
KiX Supporter
*****

Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
Further to Howard's post..

If you are using Kixtart 4.10 or greater, you can do:

If InGroup("@Lserver\PL","@Lserver\TEK")

..

From the docs:
quote:

IF INGROUP("Domain Users")
DISPLAY "z:\users.txt"
ENDIF

IF INGROUP("Developers", "Testers") = 1
? "Member of Developers OR Testers group"
ENDIF

IF INGROUP("Developers", "Testers", 1) = 1
? "Member of Developers AND Testers group"
ENDIF

$Array = "Developers", "Testers"
IF INGROUP($Array, 1) = 1
? "Member of Developers AND Testers group"
ENDIF

HTH,

Kent

[ 15. August 2002, 14:14: Message edited by: kdyer ]
_________________________
Utilize these resources:
UDFs (Full List)
KiXtart FAQ & How to's

Top
#27103 - 2002-08-15 02:20 PM Re: Ingroup function
Gerwin Lubbers Offline
Lurker

Registered: 2002-08-15
Posts: 3
Loc: Veenendaal, The Netherlands
OK, I'll try it!

Thnx!

Gerwin

Top
#27104 - 2002-08-15 03:10 PM Re: Ingroup function
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11164
Loc: Boston, MA, USA
You might also want to check that the KiXtart DLLs have the correct version number on the clients and that there's only a single set of DLLs.
_________________________
There are two types of vessels, submarines and targets.

Top
#27105 - 2002-08-15 03:11 PM Re: Ingroup function
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
If there's a NetWare client, you may need to swap provider order.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#27106 - 2002-08-15 03:25 PM Re: Ingroup function
Gerwin Lubbers Offline
Lurker

Registered: 2002-08-15
Posts: 3
Loc: Veenendaal, The Netherlands
The DLLs are always the right: They are everytime copied to the clients from a DC.
The DC's are replicating the NETLOGON-share.
We have no Netware clients.

Regards
Gerwin

Top
#27107 - 2002-08-15 03:26 PM Re: Ingroup function
Howard Bullock Offline
KiX Supporter
*****

Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
Did you put the server reference in front of the group name?
_________________________
Home page: http://www.kixhelp.com/hb/

Top
#27108 - 2002-12-02 03:40 PM Re: Ingroup function
MCA Offline
KiX Supporter
*****

Registered: 2000-04-28
Posts: 5152
Loc: Netherlands, EU
Solved? Did you get a solution. Please return a status update.
greetings.
_________________________
email scripting@wanadoo.nl homepage scripting@wanadoo.nl | Links | Summary of Site Site KiXforms FAQ kixtart.org library collection mirror MCA | FAQ & UDF help file UDF kixtart.org library collection mirror MCA | mirror USA | mirror europe UDF scriptlogic library collection UDFs | mirror MCA

Top
Page 1 of 1 1


Moderator:  Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 507 anonymous users online.
Newest Members
gespanntleuchten, DaveatAdvanced, Paulo_Alves, UsTaaa, xxJJxx
17864 Registered Users

Generated in 0.053 seconds in which 0.024 seconds were spent on a total of 12 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org