gathering usernames with asp.net
I am not sure if this is the right forum for this question, may be someone can point in the right direction. I am trying to use Request.ServerVariables("AUTH_USER") to get the username for my machine. The reason i am doing this is because i am developing a system that will be database driven. The database is mysql. I want to know if it is possible to use a person on my active directory list credentials to log into my database. for example, if john smith logs in to his machine can i transfer his username and password to my database automatically to log him in. I am trying to cut down on the number of user names and passwords that people have to use for systems around here. I also want to how to get the Request.ServerVariables("AUTH_USER") to work as well. If i am not making much sense let me know and i will explain further.
Thanks for any help that can given.
|