Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
06-20-2012, 12:04 PM #1
- Join Date
- Jun 2012
- Thanked 0 Times in 0 Posts
Get current logged-in windows user in google chrome
Hello everyone, I have a question for you: I have built a web
application, until now, used it only with internet explorer. I'm now
want to make it usable in google chrome as well, but there is one
ActiveX object in order to fetch the current logged in windows user.
As I know, ActiveX will not work on google chrome, but my question is
if there is an alternative way in order to fetch the current user in
Thanks in advanced,
06-21-2012, 04:17 AM #2
In a word, "no."
And there's no way to do it even in internet explorer if the user refuses to install your ActiveX control. Solutions that use ActiveX controls pretty much only work in inTRAnet situations, inside a company where the IT department can dictate to all users just what software they will use.
Users should never install controls like these, because any control that can get the user's Windows information can also erase the hard disk, steal all content from most any place on the disk, capture keystrokes and so steal passwords, etc., etc., etc. In short, if you have users who really really really trust you, you maybe can do this. Otherwise, forget it.
An optimist sees the glass as half full.
A pessimist sees the glass as half empty.
A realist drinks it no matter how much there is.
06-21-2012, 08:36 PM #3
- Join Date
- Jun 2007
- Thanked 598 Times in 578 Posts
you should just ask the user.
not only does that work on every browser, it means i can use the app from a guest profile or someone else's computer.
it's not like anyone can't make a window's user account using any name they want...