Issue: I wanted to retrieve the user name that is currently logged in using Visual Basics in the ASP.NET Environment. I had used the built in logging in system
Solution: Using the following code retrieves the text need.
HttpContext.current.user.identity.name
Note: Thought was important to Blog due to always referring to it.


0 comments:
Post a Comment