emblewembl
Programmer
I have written an asp.net system for an intranet which shows a different menu depending on the user logged into the particular workstation being used.
In order to determine which user is logged in I use:
HttpContext.Current.User.Identity.Name
This works fine on my network and used to work fine on my clients network, but since a whole bunch of new PCS were hooked up, and new users were set up it doesn't work. If I do:
Response.Write("Name:" & HttpContext.Current.User.Identity.Name)
.... I just get a blank! Does anyone know what could have caused this. Incidentaly all the new users were set up so they can log on without a password. Would this effect it?
Thanks!
i love chocolate
In order to determine which user is logged in I use:
HttpContext.Current.User.Identity.Name
This works fine on my network and used to work fine on my clients network, but since a whole bunch of new PCS were hooked up, and new users were set up it doesn't work. If I do:
Response.Write("Name:" & HttpContext.Current.User.Identity.Name)
.... I just get a blank! Does anyone know what could have caused this. Incidentaly all the new users were set up so they can log on without a password. Would this effect it?
Thanks!
i love chocolate