ASP.NET Example of displaying user loggin with VB

Hi Experts

Although there seems to be a wealth of information about retreving the user active dictory user name on a web page I can only find ones that use C#

All I want to do is dispaly the user name login on a web page.  If I use the syntax Environment.UserName it displays the web server login I want to dispaly the client side loggin.

Does any have some code examples or can point me in the right direction.
MrDavidThornAsked:
Who is Participating?
 
Paul MacDonaldConnect With a Mentor Director, Information SystemsCommented:
LogonUserIdentity is the namespace you want.  Here's a code sample showing its usage.  Let us know if you want something else:

http://msdn.microsoft.com/en-us/library/system.web.httprequest.logonuseridentity.aspx#Y0
0
 
MrDavidThornAuthor Commented:
Thanks dude
0
 
Paul MacDonaldDirector, Information SystemsCommented:
Very happy to help.
0
All Courses

From novice to tech pro — start learning today.