Search Tools Links Login

Get Current User Name - Single Line, NO API!


This code gets your user name *click* just like that.

Original Author: Brian Lai

Returns

It returns your user name.

Side Effects

Not sure if it works on anything other than VB6 because I don't have anything to test on for VB4 and VB5.

Code

MsgBox Environ("USERNAME")

About this post

Posted: 2002-06-01
By: ArchiveBot
Viewed: 112 times

Categories

Visual Basic 6

Attachments

No attachments for this post


Loading Comments ...

Comments

No comments have been added for this post.

You must be logged in to make a comment.