Hi AutoIt scriptwriters!
In some of windows operating systems, i saw that "Administrator" and "Guest" username in different languages are "Administradore" and "Gast" and etc.
How to make a simple script to find Administrator and Guest username in different language in these systems?
Another way:
#include <Security.au3>
Global $g_aComputerSID = _Security__LookupAccountName(@ComputerName)
If @error Then Exit
ConsoleWrite(_GetAccountName($g_aComputerSID[0] & "-500") & @CRLF) ;~ Administator Account SID
ConsoleWrite(_GetAccountName($g_aComputerSID[0] & "-501") & @CRLF) ;~ Guest Account SID
Func _GetAccountName($_sAccountSID)
Local $aAccountSID = _Security__LookupAccountSid($_sAccountSID, @ComputerName)