Quantcast
Channel: jQuery Library for SharePoint Web Services
Viewing all articles
Browse latest Browse all 6517

Created Unassigned: ResolvePrincipals with addToUserInfoList=true requires SOAPAction [10146]

$
0
0
The following fails at moment.

```javascript
$().SPServices({
operation: "ResolvePrincipals",
principalKeys: '<string>SPIRIT\\testuser99</string>',
addToUserInfoList: true
})
```

with a cryptic:

```xml
<errorstring xmlns="http://schemas.microsoft.com/sharepoint/soap/">The security validation for this page is invalid. Click Back in your Web browser, refresh the page, and try your operation again.</errorstring>
<errorcode xmlns="http://schemas.microsoft.com/sharepoint/soap/">0x8102006d</errorcode>
```

There's no issue if `addToUserInfoList: false` is used.

Proposed solution: Setting needSoapAction to true

```javascript
WSops.ResolvePrincipals = [PEOPLE, true];
```

Viewing all articles
Browse latest Browse all 6517

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>