Error occurred during a call to get UserName on SharePoint

Asked By 10 points N/A Posted on -
qa-featured

Hi Professionals,

When I try to submit a form, which I was working to a SharePoint I got message. I don’t understand about the rules were not applied. I have authentication to access this form and SharePoint. I rechecked the username it was correct. What else need to be done to correct this error? Your help is appreciated.

InfoPath

Your user name cannot be verified because the form’s security settings do not permit it.

Error occurred during a call to property or method ‘get-UserName’.

SHARE
Best Answer by Nichols Fryman
Best Answer
Best Answer
Answered By 15 points N/A #178210

Error occurred during a call to get UserName on SharePoint

qa-featured

Hi Kirk,
The error is because the settings of SharePoint site are not correct.
To resolve this error follow the steps as mentioned below:
1) Open the SharePoint site the user is developing on the system
2) Open the Internet Explorer and open the SharePoint site
3) Navigate to the security tab for the SharePoint site
4) Check for the security values in the production site and development site
5) Add the value of the development site to the local intranet zone of the system
6) Test the InfoPath form again and the error will be solved

Answered By points N/A #178211

Error occurred during a call to get UserName on SharePoint

qa-featured

Hello,

Here we go to solve this annoying issue.

1. From the “Form Options” go to “Preview” on the left panel, change security to “Full Trust” from “Domain”.

2. Change the “Preview” and “Compatibility” values to production.

You can also find more helpful tips from this page.

Now your problem should have gone now.

Related Questions