CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Feb 2003
    Location
    Oklahoma City
    Posts
    1

    Question Windows User Name

    When someone starts my application I want to know what they logged into windows as. How do I do this using .Net?

    All help would be greatly appreciated.

    JaJay777

  2. #2
    Join Date
    May 2000
    Location
    New York, NY, USA
    Posts
    2,878
    MsgBox(System.Environment.UserName)
    Iouri Boutchkine
    iouri@hotsheet.NOSPAM.com

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured