Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Computer User
#1
I need a little Help. I am trying to figure out how to get the username of the person currently using my application.

Example:
VbcodeGeek

I hope I explained it good.
--VBCodeGeek--
#2
I believe that it is this code you are looking for:

Code:
My.User.Name
My Blog | My Setup | My Videos | Have a wonderful day.
#3
Thanks for the Help! : <!-- sSmile --><img src="{SMILIES_PATH}/icon_e_smile.gif" alt="Smile" title="Smile" /><!-- sSmile -->
--VBCodeGeek--
#4
You're very welcome!!
My Blog | My Setup | My Videos | Have a wonderful day.
#5
Nice tip!
Would you know how to get the OS info?
#6
You can use the following to get the operating system name,
Code:
My.Computer.Info.OSFullName
All other information is located in
Code:
My.Computer.Info.
My Blog | My Setup | My Videos | Have a wonderful day.
#7
Hey thanks! That's really helpful!


Possibly Related Threads…
Thread Author Replies Views Last Post
  Auto-generating Drop Menus from User Input MadManMallard 2 11,840 09-17-2014, 09:41 AM
Last Post: brandonio21
  How can I set profile for a user??? mnxford 5 19,252 04-12-2013, 06:31 PM
Last Post: brandonio21
  How do I check if a user has a certain role in their profile kismetgerald 4 15,448 11-14-2012, 12:30 PM
Last Post: kismetgerald
  Computer information brco900033 3 12,734 03-23-2012, 11:25 AM
Last Post: brco900033

Forum Jump:


Users browsing this thread: 1 Guest(s)