Date de publication : Nov 26, 2008 11:15:47 AM
UsrLogin="";
var WshShell = new ActiveXObject("WScript.Shell");
UsrLogin = WshShell.RegRead("HKEY_LOCAL_MACHINE\\SOFTWARE
\\Microsoft\\Windows NT\\CurrentVersion\\Winlogon\\DefaultUserName");