Widnows Authentication

  • Thread starter Thread starter Ganesh Ramamurthy
  • Start date Start date
G

Ganesh Ramamurthy

Hello Experts.

I use windows authentication in my ASP.Net application. I have disabled the
anonymous access for my web site in IIS. I get a windows authurization
dialog box (the grey box), wherein i can enter the correct userid and
password to access the page.

I want to display the user information (line name..) in my pages. How can I
get the user details from the LDAP in my application. How can I get the LDAP
user name and password which the user has keyed in or at least the userid.

Thanks in advance

Regards
Ganesh
 
hi Ganesh,
try using User.Identity.Name to get the username of the current logged in user
HTH
srini
 
Back
Top