#27504 - 2002-08-22 02:29 PM
Differences between Kix and Vbs (NT Group)
|
kachte
Fresh Scripter
Registered: 2002-06-10
Posts: 12
|
Hi, I want to enumerates all groups of which the current user is a member.
Script
$Index = 0 DO $Group = ENUMGROUP($Index) $Index=$Index+1 ? $Group UNTIL Len($Group) = 0
The result is, that all groups are not announced. With a Vbs Script I get all groups.
dsRoot = "WinNT://dom/user" set wshShell = Wscript.CreateObject("Wscript.Shell") set dsObj = GetObject(dsRoot) For Each Prop In dsobj.groups wshshell.popup Prop.Name Next
Help!!
Thanks Kachte
|
|
Top
|
|
|
|
#27506 - 2002-08-22 02:45 PM
Re: Differences between Kix and Vbs (NT Group)
|
kachte
Fresh Scripter
Registered: 2002-06-10
Posts: 12
|
Hi,
i only get 8 NT groups. But i have to get 12 groups.
Kachte
|
|
Top
|
|
|
|
#27508 - 2002-08-22 03:36 PM
Re: Differences between Kix and Vbs (NT Group)
|
kachte
Fresh Scripter
Registered: 2002-06-10
Posts: 12
|
No, all groups which I want to enumerate are globale groups.
|
|
Top
|
|
|
|
#27511 - 2002-08-23 11:41 AM
Re: Differences between Kix and Vbs (NT Group)
|
kachte
Fresh Scripter
Registered: 2002-06-10
Posts: 12
|
Sorry,
after a logoff/on - everything seems to be OK.
Kachte
|
|
Top
|
|
|
|
#27513 - 2002-08-23 06:51 PM
Re: Differences between Kix and Vbs (NT Group)
|
Howard Bullock
KiX Supporter
   
Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
|
What are the lengths of the group names that are not shown? [ 23. August 2002, 18:51: Message edited by: Howard Bullock ]
|
|
Top
|
|
|
|
Moderator: Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart
|
0 registered
and 840 anonymous users online.
|
|
|