Widnows Authentication

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
 
G

Guest

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

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top