get users first and last name - InfoPath Dev
in

InfoPath Dev

get users first and last name

Last post 10-12-2005 04:39 PM by Patrick Halstead. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 10-10-2005 06:26 PM

    get users first and last name

    hi,

    Ive got the function below to return the current user name, just wondering whether its posible to ge the user first name and last name using script?

    function getUserName(){
    var wshShell = new ActiveXObject("Wscript.Shell");
    var wshEnv = wshShell.Environment("Process");
    var username = wshEnv.Item("UserName");
    }
  • 10-10-2005 07:31 PM In reply to

    Re: get users first and last name

    Hi,

    Have you tried to use AD:
    http://www.infopathdev.com/webstore/detail.aspx?itemid=18

    Regards,

    Franck Dauché
  • 10-12-2005 04:39 PM In reply to

    Re: get users first and last name

    Franck! Thanks for the pointer. Need to start paying you commissions! :)

    Patrick Halstead [InfoPath MVP]
    InfoPathDev
    Patrick Halstead
    Project Manager at Qdabra
Page 1 of 1 (3 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.