The VB.NET help files mentions a GetLogon API function that returns a token with which you can create a WindowsIndentity object. I don't have any details about it but maybe that would return the logged in user.