Computer login name
Can someone help me. I'm using this code: "System.Security.Principal.WindowsIdentity.GetCurr ent.Name" to get the current user login name from their computer, but in terms it gives me IUSR_servername instead. What shall i do to correct this. Also on my table in sql I have the curret_user to record the person who imputs an entry and it give me the same IUSR_servername instead of the login name. Help please!!:)
Alexander Nelson
Programmer
__________________
Alexander Nelson
Programmer
|