Can anyone tell me the API call to use to find the domain and username of
the currently logged on user to use to authenticate wen allowing access to
a VB app? The person before me tried to use LookupAccountName but it doesn't
seem to be working, it's returning the machine name instead of the domain.
Any ideas?