Quantcast
Viewing all articles
Browse latest Browse all 6517

Commented Issue: ResolvePrincipals with addToUserInfoList=true requires SOAPAction [10146]

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];
```
Comments: Fixed in 2013.02ALPHA1

Viewing all articles
Browse latest Browse all 6517

Trending Articles