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.