Archive: Get the login of the current user


Get the login of the current user
Hi,

Is it possible with NSIS to get the login of the current user?


ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" "DefaultUserName"

Thank you