Getting NT Login Id

Hi,

I want to get the NT Login id..tah tis the user name of the user who has logged in the system now.

I tried using NTLM authorisation...but Iam not able to use it with POST requests.

Can someone please suggest a way to get the client machine's login user name

Thanks

[302 byte] By [laks77a] at [2007-9-24]
# 1
Boss Its simple String NTloginname = System.getProperty("user.name",".");System.out.println(NTloginname);
dheeraj_taka at 2007-7-16 > top of java,Enterprise & Remote Computing,Web Tier APIs...
# 2
System.getProperties() will give the Server login information. I need the client Login information. I tried the NTLM Authentication but the response of the POST method is getting changed becoz of this function. I would like to know if there are any other functions for the same.
laks77a at 2007-7-16 > top of java,Enterprise & Remote Computing,Web Tier APIs...
# 3
You mean this NTML login: http://jcifs.samba.org/src/docs/ntlmhttpauth.html? From the example I see there, it should work with POST method.
DrClapa at 2007-7-16 > top of java,Enterprise & Remote Computing,Web Tier APIs...