Determines whether the given user name refers to an existing infoRouter user.
/srv.asmx/UserExists
/srv.asmx/UserExists?authenticationTicket=...&UserName=.../srv.asmx/UserExists (form data)http://tempuri.org/UserExists| Parameter | Type | Required | Description |
|---|---|---|---|
authenticationTicket |
string | Yes | Authentication ticket obtained from AuthenticateUser. |
UserName |
string | Yes | The username to check for existence. |
<response success="true" error="" />
<response success="false" error="[ErrorCode] Error message" />
Any authenticated user can call this API. Anonymous (unauthenticated) users are rejected.
GET /srv.asmx/UserExists
?authenticationTicket=3f2504e0-4f89-11d3-9a0c-0305e82c3301
&UserName=jdoe
HTTP/1.1
POST /srv.asmx/UserExists HTTP/1.1
Content-Type: application/x-www-form-urlencoded
authenticationTicket=3f2504e0-4f89-11d3-9a0c-0305e82c3301
&UserName=jdoe
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:tns="http://tempuri.org/">
<soap:Body>
<tns:UserExists>
<tns:AuthenticationTicket>3f2504e0-4f89-11d3-9a0c-0305e82c3301</tns:AuthenticationTicket>
<tns:UserName>jdoe</tns:UserName>
</tns:UserExists>
</soap:Body>
</soap:Envelope>
success="true" if the user exists; returns an error response if the user is not found.[2730].| Error | Description |
|---|---|
[900] Authentication failed |
Invalid or missing authentication ticket. |
[901] Session expired or Invalid ticket |
The ticket has expired or does not exist. |
[2730] Insufficient rights. Anonymous users cannot perform this action. |
The calling user is not authenticated. |
| User not found | The specified username does not exist. |
SystemError:... |
An unexpected server-side error occurred. |