tags:

views:

53

answers:

1

Hi all,

I need to get the users Loging name from NTLM . Any one who knows?.

Thanks you :).

+1  A: 

FAQ

String auth = request.getHeader("Authorization");
if (auth == null)
{
  response.setStatus(response.SC_UNAUTHORIZED);
  response.setHeader("WWW-Authenticate", "NTLM");
  response.flushBuffer();
  return;
}
adatapost
thanks you....i run this code but it does not give me the user name...I want the user name?if u have the code for the same,can you please share the code?
vipin k.
Did you visit - FAQ link?
adatapost
informative link, thanks.
Zaki