Ok. I have managed to use the GetUserName API to retrieve the user who is currently logged into Windows NT.
Now I need to get the Domain that they logged in with.
I know there exists a function LookupAccountSID that can retrieve it for me but all the examples are in C... was wondering if anyone knew of one in VB so I don't have to waste time converting it all.
Thanks in advance :D
