Reading NTUser with JScript - InfoPath Dev
in

InfoPath Dev

Reading NTUser with JScript

Last post 08-11-2006 05:13 AM by vt_asparagus. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 08-08-2006 06:26 AM

    Reading NTUser with JScript

    Hello together!
    How can i read the actual NTUser with Jscript? Is it possible?
    I will write the actual NTUser Name in a normal Textbox in a Infopath 2003 form, but i dont know how i can do this. :(

    THX a lot for help


    Patrick
  • 08-11-2006 05:13 AM In reply to

    Re: Reading NTUser with JScript

    Do a search for "current user" that has been a popular topic in the past.

    http://www.infopathdev.com/forums/topic.asp?TOPIC_ID=831&SearchTerms=current,user

    Dim sUserName
    sUserName = CreateObject("Wscript.Shell").Environment("Process").Item("UserName")
    XDocument.UI.Alert(sUserName)
    Jason
    http://www.k2distillery.com/
Page 1 of 1 (2 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.