VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Get User Name

Matthew Grove  (2 Submissions)   Windows API Call/Explanation   Visual Basic 3.0   Unknown Difficulty   Wed 3rd February 2021

Returns the current user name using a dll call

Returns
The current user that is logged on

API Declarations
Private Declare Function GetUserName Lib "advapi32.dll" Alias "GetUserNameA" (ByVal lpbuffer As String, nSize As Long) As Long

Rate Get User Name (3(3 Vote))
Get User Name.bas

Get User Name Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters