by Kamlesh Santani (5 Submissions)
Category: Windows API Call/Explanation
Compatability: Visual Basic 5.0
Difficulty: Unknown Difficulty
Originally Published: Tue 5th December 2000
Date Added: Mon 8th February 2021
Rating: (1 Votes)
Get the User Name of a person logged into a particular machine in Windows NT
API Declarations
Dim counter As Long, s As String
Dim dl As Long
s = String(counter, 0)
dl = GetComputerName(s, counter)
Text1.Text = Left(s, counter) 'gets the name of the user in a textbox
No comments have been posted about Get the User Name of a person logged into a particular machine in Windows NT. Why not be the first to post a comment about Get the User Name of a person logged into a particular machine in Windows NT.