determine the last logged on user?
Hi,
I’m trying to find some equivalent functionality to determine who the last user who logged on to a vista machine. Under XP and earlier, I found that the registry key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon
Had to strings, defaultdomainname and defaultusername which mostly worked for what I wanted. Under Vista, I don’t see those keys. Is there an API I can interrogate or registry key I can read to determine this information? Is it there anywhere?
Thanks,
-dave

