Author: gildebrand | Posted on: 2/6/2010 12:08:54 PM | Views : 278

Hi!
I know there is alot about this if i search on google, but i dont seem to find exactly what i want to do, or when i do, it doesn't work.
I want all of the users in my domain to be able to logon to the site. If they are logged in to there domain user on the computer, it should logon automaticly with that account to the site. If not, the user should be prompted to enter Username and password. When they are logged in, they should see that they are logged in and there name, the ability to log out, and i want the logged in username to be avaliable as a string, so i can provide the user with user-specific data from my SQL database, but i know how do solve the SQL part.
For the automatic logon feature, i know there is a feature (Context.User.Identity.Name) to get the users username and domain, but isn't that very insecure? Or is there another way to make the user log on automaticly?

...

Go to the complete details ...