Click here to Skip to main content
15,890,185 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Get Loggedin Domain\Username Pin
Richard Deeming7-Jun-13 2:20
mveRichard Deeming7-Jun-13 2:20 
GeneralRe: Get Loggedin Domain\Username Pin
raesark7-Jun-13 2:24
raesark7-Jun-13 2:24 
GeneralRe: Get Loggedin Domain\Username Pin
Richard Deeming7-Jun-13 2:45
mveRichard Deeming7-Jun-13 2:45 
GeneralRe: Get Loggedin Domain\Username Pin
raesark7-Jun-13 3:46
raesark7-Jun-13 3:46 
GeneralRe: Get Loggedin Domain\Username Pin
Richard Deeming7-Jun-13 3:52
mveRichard Deeming7-Jun-13 3:52 
GeneralRe: Get Loggedin Domain\Username Pin
V R Shukla10-Jun-13 1:35
V R Shukla10-Jun-13 1:35 
GeneralRe: Get Loggedin Domain\Username Pin
raesark11-Jun-13 20:18
raesark11-Jun-13 20:18 
AnswerRe: Get Loggedin Domain\Username Pin
jkirkerx8-Jun-13 8:27
professionaljkirkerx8-Jun-13 8:27 
You technically should not be able to get that information, if you do, then it's coming from the server that request was made on, and not the client machine.

Below is the correct response to the query, because it came off the web server.
raesark wrote:
But it returns :
NT AUTHORITY\IUSR

If the query was made in a windows app running managed code on a client computer or server, then you would get the domain name and identity your looking for.

[edit]

You got the identity that made the request, which is anonymous or IIS_USR in IIS5 and IIS6

by design, Microsoft is closing the loopholes in asp.net when used for web applications, separating managed code functionality between windows apps and web apps. Someone should write and article on the subject.
GeneralRe: Get Loggedin Domain\Username Pin
raesark11-Jun-13 20:20
raesark11-Jun-13 20:20 
GeneralRe: Get Loggedin Domain\Username Pin
jkirkerx12-Jun-13 6:46
professionaljkirkerx12-Jun-13 6:46 
QuestionDrop Down Listnot updating when item deleted from GridView Pin
WickedFooker6-Jun-13 4:59
WickedFooker6-Jun-13 4:59 
AnswerRe: Drop Down Listnot updating when item deleted from GridView Pin
WickedFooker7-Jun-13 3:08
WickedFooker7-Jun-13 3:08 
QuestionGrid View Pin
Kaushik.Subramanian6-Jun-13 3:22
Kaushik.Subramanian6-Jun-13 3:22 
AnswerRe: Grid View Pin
Richard MacCutchan6-Jun-13 4:41
mveRichard MacCutchan6-Jun-13 4:41 
QuestionGrid View Pin
Kaushik.Subramanian5-Jun-13 22:24
Kaushik.Subramanian5-Jun-13 22:24 
QuestionHow do you run the program for downloading financial data from yahoo ? Pin
forte745-Jun-13 15:51
forte745-Jun-13 15:51 
QuestionAdd Live TV in Asp.Net Pin
Jak Anil4-Jun-13 2:10
Jak Anil4-Jun-13 2:10 
AnswerRe: Add Live TV in Asp.Net Pin
Chetan Talwar6-Jun-13 17:17
Chetan Talwar6-Jun-13 17:17 
GeneralRe: Add Live TV in Asp.Net Pin
Jak Anil7-Jun-13 1:56
Jak Anil7-Jun-13 1:56 
QuestionValidationExpression complexity Pin
VikramKumarJ4-Jun-13 1:53
VikramKumarJ4-Jun-13 1:53 
AnswerRe: ValidationExpression complexity Pin
Richard Deeming4-Jun-13 1:58
mveRichard Deeming4-Jun-13 1:58 
GeneralRe: ValidationExpression complexity Pin
VikramKumarJ4-Jun-13 18:23
VikramKumarJ4-Jun-13 18:23 
QuestionBackend Image creation and loading in webpage Pin
bigjfunk3-Jun-13 17:18
bigjfunk3-Jun-13 17:18 
AnswerRe: Backend Image creation and loading in webpage Pin
Bernhard Hiller3-Jun-13 21:26
Bernhard Hiller3-Jun-13 21:26 
AnswerRe: Backend Image creation and loading in webpage Pin
Jasmine25015-Jun-13 12:34
Jasmine25015-Jun-13 12:34 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.