Close popover
Shomail Fatma (ShomailF1338)
Cognizant Technology Solutions

Cognizant Technology Solutions
ShomailF1338 Member since 2021 1 post
Cognizant Technology Solutions
Posted: 3 weeks 2 days ago
Last activity: 3 weeks 2 days ago

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***
Pega Platform 7.1.8 User Experience