Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing all articles
Browse latest Browse all 7589

"User not found" error through SOAP webservice request AddGroup.asmx

$
0
0

Hi there,

With the help of NINTEX Im trying to create a new group via the webservice:

<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:m="http://schemas.microsoft.com/sharepoint/soap/directory/"><soap:Header></soap:Header><soap:Body><m:AddGroup><m:groupName>TestGroup</m:groupName><m:ownerIdentifier>mydomain/user</m:ownerIdentifier><m:ownerType>user</m:ownerType><m:defaultUserLoginName>mydomain/user</m:defaultUserLoginName><m:description></m:description></m:AddGroup></soap:Body></soap:Envelope>

I keep getting a user not found. I tried the same approche in a SharePoint 2010 environment and there it works just fine. 

I tried changing the username to i0#.w|mydomain/user, after reading an article HOW TO: Add users to SharePoint Groups using SharePoint 2013 UserGroup.asmx Web Service on blogs.technet.com

Does anyone has an idea what the problem could be?

 


Viewing all articles
Browse latest Browse all 7589

Trending Articles