Hi i am developing one intranet app for this i have a functionality like i need get ther username and password of whom are logged in that particular system i got following snippet for ie
var objUserInfo = new ActiveXObject("WScript.network");
document.write(objUserInfo.ComputerName+"<br>");
document.write(objUserInfo.UserDomain+"<br>");
document.write(objUserInfo.UserName+"<br>");
var uname = objUserInfo.UserName;
alert(uname);
but it is not working any other browser can acny one help me regarding this note:i am okay if there is any alternate solution for this