VB.NET WMI Enumerate Local Accounts / Profiles
Posted on 2006-06-29
I need a VB.NET WMI function to return a list of local profiles on a machine. The machine will be connected to a domain, but i dont need domain information, just a list of who has a profile on that perticular machine. Can someone please help me with this function, I have been trying for days to produce one myself but I am getting nowhere fast as I am very new to WMI programming, and I am running out of time even faster for this project to be completed.
The end result of the function: I wish to add to a listbox the names of the profiles found on the machine. This code will be run from the machine locally.