HI
My scenario is that i am using Active Directory user to login on my web application so i didnt want to re authenticate user when he access my web application(it ll automatically be authenticated). SO i need active windows client username in my web application. I try HttpContext but it give null value on Client side. On Deployment senario HttpContext return null value.
THX
Loading
kaunainbaig kaunainbaigPosted Sep 14, 2009, 11:40 AM
kaunainbaig kaunainbaigPosted Sep 12, 2009, 11:35 AM
Roei BarPosted Sep 12, 2009, 8:05 AM
kaunainbaig kaunainbaigPosted Sep 11, 2009, 7:58 PM
I will try your setting in my office as the active directory is there.
The thing is that will it result in some popup box for authentication first with the iis?. Then it will display the username. (because it is doing just as i have said) and that i don't want to display any popup box. When I type the address of my application in the browser as I am already login in the domain it should just bring the username there,not first i reauthenticate in that popup box and then it brings in the username. I hope it is clear more now.
Master BillaPosted Sep 11, 2009, 1:05 PM
You can u get like this way
more details here
http://www.codeproject.com/KB/system/everythingInAD.aspx
thank you
Roei BarPosted Sep 11, 2009, 8:34 AM
and set the IIS Folder Security to Windows authentication
but if you need it use "Enviorment.UserName"