This content has been marked as final. Show 2 replies
I have the same problem. Need to get the Windows domain of the user, not the machine.
Username is not a problem, but where do I get his domain?
You realize that the HttpServletRequest gives you the ability to iterate over all request headers, right? That way you can easily see what is transmitted. If the domain name is in there somewhere, you'll be able to find the header name. If it isn't in there then I'm pretty sure you will not be able to get it.