Reputation: 163
I'm trying the following code:
var myCarrier = new memberCarrier()
{
DisplayedName = "abemad123",
Email = "[email protected]",
LoginName = "abemad123",
MembertypeId = 1062,
Id = 3,
Password = "abe"
};
var client = new UmbracoWebService.memberServiceSoapClient();
var tmp = client.create(myCarrier, 1062, "abemad123", "abemad123");
But I get this error:
Server was unable to process request. ---> No User exists with ID -1
What am I doing wrong?
Upvotes: 1
Views: 140
Reputation: 163
Bug in Umbraco.
If user/pass to the webservice doesn't match it throws an exception "No User exists with ID -1"
Error should be: "Wrong password"
Upvotes: 1