Sorry there doesn't appear to be a web thread.
Is there a way through javascript that I can get someone's user profile name for who is logged in?
Sorry there doesn't appear to be a web thread.
Is there a way through javascript that I can get someone's user profile name for who is logged in?
Here possibly for javascript?
Vb.Net Contributions:-Here-
Game Contributions:-Here- New - 2d map creator
XNA in Vb.Net Tutorials:-Here-
Links:
LegalShield | AUP
Moved the thread to the HTML and JS forum.
Joacim Andersson
If anyone's answer has helped you, please show your appreciation by rating that answer.
I'd rather run ScriptBrix...
Joacim's view on stuff.
MVP
The only situation I know of in which a web application can get the user account name is when it is provided to the server if using Internet Explorer and LDAP authentication.
And if I meet that criteria?
Then it's sent to the web server as an HTTP header:
You can actually get it using JavaScript, but only in IE with ActiveX. See the top reply here.PHP Code:$_SERVER['AUTH_USER']
Also, Mozilla apparently supports this style of authentication, but it needs to be configured manually.