I hope I have not missed the obvious answer to this somewhere, but in case I have, I apologize.
System.Posix.User has a getLoginName function to find the login for the current user. Now, what will work to get the same information on Windows platforms?
windows haskell
Fredrik karlsson
source share