Link to home
Start Free TrialLog in
Avatar of GordonMasson
GordonMasson

asked on

InfoPath User Name

Is there a way that i can find out the persons name who is filling in an InfoPath form and display his name in a text box automaticaly?
Avatar of Clay Fox
Clay Fox
Flag of United States of America image

yes.

In functions there is one called username()

that will return the local account name.

You can use Sharepoint or www.qdabra.com's Active Driectory web service to get more things like display name, domain account, email, manager, etc.
Avatar of GordonMasson
GordonMasson

ASKER

Thanks for that clayfox

That works but it gives me a log on ID rather than the users actual name.
Can that be changed?
ASKER CERTIFIED SOLUTION
Avatar of Clay Fox
Clay Fox
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanks for the info.