Question
Cognizant Technology Solutions
Cognizant Technology Solutions
IN
Cognizant Technology Solutions
Posted: Apr 21, 2021
Last activity: Apr 21, 2021
Last activity: 21 Apr 2021 5:47 EDT
Closed
Is there a way we can get the client machine name without using ActiveX in script.
We have below code which is working in IE but not working in Edge:
var objUserInfo = new ActiveXObject("WScript.Network");
var uname = objUserInfo.UserName;
Please let us know what is the workaround for getting client machine name in Edge.
***Edited by Moderator: Pooja Gadige to add platform capability tag***
To see attachments, please log in.