David,
If you want to get the list of local user accounts, you can use a WMI
query for all instances of the Win32_UserAccount object where the
LocalAccount property is true.
As for getting the directory for that user, see my response to your
other post on this topic.
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
-
mv*@spam.guard.caspershouse.com
"David Meier" <Da********@discussions.microsoft.com> wrote in message
news:62**********************************@microsof t.com...
Hi,
how can I (easily) list all local user accounts as user name/home
directory?
Thanks.