Information générale
Titre:
Finding the windows user
I am writing an ASP.Net web application for the intranet where user should get the home page without enetering any userid or password.
Now, based on the userID (using which the user has logged into the machine), I need to allow them to certain links.
How would I make it possible.
I have to set Anonymous access allowed to get to home page without having to eneter user id and password. But when I do so I get HttpContext.Current.User.Identity.Name and Request.ServerVariables["LOGON_USER"] empty in producstion server.
How would I do this. Any help on this matter is appreciated.
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement