Try using WMI with Win32_UserAccount. See:
http://www.c-sharpcorner.com/Code/20...t/WMIPart2.asp
--
Best regards,
Carlos J. Quintero
MZ-Tools: Productivity add-ins for Visual Studio .NET, VB6, VB5 and VBA
You can code, design and document much faster.
Free resources for add-in developers:
http://www.mztools.com
"Hrvoje Voda" <hr*********@luatech.com> escribió en el mensaje
news:d5**********@ss405.t-com.hr...
How to get a list of windows users on local machine ?
Hrcko