OK.
There is a problem. Everyone provides funny examples with
GetObjets("Winnt://DOMAIN-WHATEVER-CALLED")
However: What if I do not know the domain name or (worse) there is no domain
name and I want to access users ot groups.
The reason for this is to remove ACE entry from file using VBScript. The
code should work on every Win2K version, including non-english version. So:
I cannot say:
CACLS myfile /E /R Everyone
because there is no "Everyone" group in other languages. There is S-1-1-0
SID.
I would browse "WinNT://Domain" object and find groups and SIDs, but... I do
not know the domain name (or computer if it is standalone server or
workstation).
Will someone tell me what to do ?
Piotr.