Macro Name: @UserName
Returns the name of the currently logged on user.
Example is provided below:
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)
;Display currently logged in user name
MsgBox($MB_SYSTEMMODAL, "Logged in User", @UserName)
- AutoIt - Get Computer Name
- AutoIt - Get Operating System
- AutoIt - Get OS Service Pack
- AutoIt - Get OS Language
- AutoIt - Get Keyboard Layout
- AutoIt - Get Multi Language Name
- AutoIt - Get CPU Architecture - x86 (32 Bit) Or x64 (64 Bit)
- AutoIt - Get OS Architecture - x86 (32 Bit) Or x64 (64 Bit)
- AutoIt - Get Display Height (Vertical Resolution) and Width (Horizontal Resolution)
- AutoIt - Get Display Depth (Color quality)
- AutoIt - Get Display Refresh Rate
- AutoIt - Get IP Address
Interesting? Share and Let Others Know.
Post a Comment