I have an InfoPath Form build using InfoPath 2013. In there a textbox is to retrieve the logged in UserName of a user who open the published InfoPath form. The form is published to a Form Library.
I previewed this form in InfoPath and it showed the UserName. But when I open the new form in SharePoint using IE and Chrome in the TextBox the UserName shows as 'svc-sppoolportal'.
I can't understand about this.
Please help to solve this issue.