Dear Support,
how could I create a listbox on a dialog, which contains the all of users on that Windows? I haven't found any property for this.
Thanks, Edvard
Code: Select all
Set objNetwork = CreateObject("Wscript.Network")
strComputer = objNetwork.ComputerName
Set colAccounts = GetObject("WinNT://" & strComputer & "")
colAccounts.Filter = Array("user")
For Each objUser In colAccounts
Wscript.Echo objUser.Name
Next
FOLLOW US
Get the latest news in Application Packaging