http://bugzilla.wpkg.org/show_bug.cgi?id=208

--- Comment #2 from Daniel Dehennin <daniel.dehen...@ac-caen.fr>  ---
Can you test the following js on a workstation with the following command:

cscript //Nologo list-group.js

Here is the content of list-group.js:

hostGroups = new Array();
var HostName='adj';
var DomainName='administration';
var obj = GetObject("WinNT://" + DomainName + "/" + HostName + "$,user") ;
var Groups = obj.Groups();
for (var item =new Enumerator(Groups); !item.atEnd(); item.moveNext() ) {
    var group = item.item();
    WScript.Echo("Found computer group: " + group.Name);
    hostGroups.push(group.Name);
}

This is what I tested to validate my code against a 2003 AD.

Regards.

-- 
Configure bugmail: http://bugzilla.wpkg.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
-------------------------------------------------------------------------
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
_______________________________________________
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users

Reply via email to