LATEST UPDATES
ShareHolder Finder v0.9.3 is now released!!! Check Product Page for more details.
✉ info@automationdevelopers.com

ITS ALL ABOUT AUTOMATION

Sunday, 17 April 2016

AutoIt - Get currently logged on user name


Author Post Date Sunday, 17 April 2016
Macro Name: @UserName

Returns the name of the currently logged on user.

Example is provided below:

#include <MsgBoxConstants.au3>

;Display currently logged in user name
MsgBox($MB_SYSTEMMODAL, "Logged in User", @UserName)

Related Posts




Interesting? Share and Let Others Know.

Post a Comment