Forum Discussion
Allison Rizak
Jan 12, 2017Brass Contributor
Auto populate person field with current user - InfoPath
I've seen this done, so I know it's possible, but I just wasted an hour searching on the internet, hoping to figure out how to do it. I want the current user to be automatically added to the People f...
SSantos
Copper Contributor
Pieter Veenstra, I am using SharePoint Online/Office 365 - is there another way to accomplish this? I was told we have E3 license but I was not able to access the path. I have admin rights.
https://myHostSite/sites/mySite/_vti_bin/UserProfileService.asmx
Are there any settings, on SP, I need to enable to access it? Thanks.
-----
Edit: Nevermind. I got it to work by using UserName() as the default value of the people picker (AccountID).
Daniel Paul
May 09, 2018Copper Contributor
Hi. How did you get the 'UserName()' function to stet the value of people picker field? I tried doing this and it simply won't set.