Timeline for How do I get the current username in .NET using C#?
Current License: CC BY-SA 3.0
9 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Aug 25, 2021 at 11:50 | comment | added | Mike Nakis | Any answer that just throws a type name at you without mentioning AT THE VERY LEAST the namespace (not to mention the full name of the assembly) should really be downvoted. Unfortunately, if we were to be doing this, we would have to be downvoting 99% of all C# answers. Oh, humans. | |
| Dec 7, 2020 at 7:59 | comment | added | Shivam657 | @GerardoGrignoli - Thanks for your comment, yes Request would only work if you are using a web application. | |
| Feb 26, 2020 at 12:44 | comment | added | Gerardo Grignoli |
@TK-421 Request only works if you are a web application. It's an instance of System.Web.HttpRequest
|
|
| Sep 30, 2019 at 8:25 | comment | added | TK-421 | What namespace is required to use the "Request."? | |
| Jan 14, 2016 at 18:21 | history | edited | Peter Mortensen | CC BY-SA 3.0 |
Second iteration.
|
| Jan 14, 2016 at 18:13 | history | edited | Peter Mortensen | CC BY-SA 3.0 |
Copy edited (e.g. ref. <http://english.stackexchange.com/questions/4645/is-it-ever-correct-to-have-a-space-before-a-question-or-exclamation-mark#comment206109_4645>). References to relative positions of answers are not reliable as they depend on the view (votes/newest/active), etc.
|
| Oct 7, 2014 at 9:23 | history | edited | Shivam657 | CC BY-SA 3.0 |
added 117 characters in body
|
| Oct 7, 2014 at 9:10 | history | edited | Shivam657 | CC BY-SA 3.0 |
added 16 characters in body
|
| Oct 7, 2014 at 8:18 | history | answered | Shivam657 | CC BY-SA 3.0 |