 |
Closer - wsh has the info, can't get it to display Doug Finner 1.Nov.10 02:17 PM a Web browser Domino Designer 6.5.4 All Platforms
From:
<script type="text/vbscript">
dim wsh
set wsh = createobject("WScript.Network")
login_name = wsh.UserName
document.write(login_name)
</script>
<script type="text/javascript">document.write('Your user name is' + login_name);</script>
I put this on a form, marked it as pass through html, and nothing is displaye.
If I add a row:
<script type="text/javascript">document.write('Your user name is' );</script>
I see 'Your user name is' on the page.
I don't do much web dev and even less JS. I'm guessing I have the code in the wrong place or am just doing this wrong so any pointers are appreciated.
I'll continue hacking on this.
Doug

Web users and Windows AD names (Doug Finner 1.Nov.10)
. . Closer - wsh has the info, can't ge... (Doug Finner 1.Nov.10)
. . . . RE: Closer - wsh has the info, can'... (Stan Rogers 1.Nov.10)
. . . . . . RE: Closer - wsh has the info, can'... (Doug Finner 1.Nov.10)
. . . . RE: Closer - wsh has the info, can'... (Wayne Gibbons 1.Nov.10)
. . . . . . I'm doing something wrong, any idea... (Doug Finner 3.Nov.10)
. . . . . . . . Still works for me (Wayne Gibbons 3.Nov.10)
. . . . . . . . . . and not for me (Doug Finner 4.Nov.10)
. . . . . . . . . . Think I figured it out, sort of (Doug Finner 12.Dec.11)
. . . . . . . . . . . . RE: Think I figured it out, sort of... (Rich Schwartz 12.Dec.11)
. . . . . . . . . . . . . . Thanks but... (Doug Finner 14.Dec.11)
. . . . . . . . . . . . . . . . I haven't got a clue (Rich Schwartz 14.Dec.11)
. . . . . . . . . . . . . . . . . . Well... (Doug Finner 22.Dec.11)
|  |
Document Options
Search this forum
Sign In or Register
Member Tools
|
RSS Feeds
Resources
Lotus Support
Wikis
Lotus Forums
|
|