Not getting domain\username

  • Thread starter Thread starter David C
  • Start date Start date
D

David C

I have the following code in 2 web applications in ASP.Net 2.0 and one
returns the domain\username and the other does not.
strLogin = LoginName1.Page.User.Identity.Name

Can anyone tell me why one application would fail to return it? Both have
<authentication mode="Windows"/> in the web.config file. Any help would be
appreciated.

David
 
Back
Top