Page.User.Identity.Name returns empty string [closed]
For some Page.User.Identity.Name always returns an empty string. Any ideas. I simply want to print it to the screen. IIS is set for integrated windows security.
Response.Write("Name = " + 开发者_如何学JAVAPage.User.Identity.Name);
Oops just noticed i hadnt set authentication to windows auth. Silly me
Oops just noticed i hadnt set authentication to windows auth. Silly me
精彩评论