Deletes the specified infoRouter user account with administrator password confirmation. Use this API instead of DeleteUser when the system requires password re-prompting for user deletion.
/srv.asmx/DeleteUser1
/srv.asmx/DeleteUser1?authenticationTicket=...&UserPassword=...&UserName=.../srv.asmx/DeleteUser1 (form data)http://tempuri.org/DeleteUser1| Parameter | Type | Required | Description |
|---|---|---|---|
authenticationTicket |
string | Yes | Authentication ticket obtained from AuthenticateUser. |
UserPassword |
string | Yes | The current password of the calling administrator. Required for identity confirmation when the system has password re-prompting enabled for user deletion. |
UserName |
string | Yes | The username to delete. |
<response success="true" error="" />
<response success="false" error="[ErrorCode] Error message" />
System administrator. Only system administrators can delete user accounts.
GET /srv.asmx/DeleteUser1
?authenticationTicket=3f2504e0-4f89-11d3-9a0c-0305e82c3301
&UserPassword=AdminP%40ssword
&UserName=jdoe
HTTP/1.1
POST /srv.asmx/DeleteUser1 HTTP/1.1
Content-Type: application/x-www-form-urlencoded
authenticationTicket=3f2504e0-4f89-11d3-9a0c-0305e82c3301
&UserPassword=AdminP@ssword
&UserName=jdoe
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:tns="http://tempuri.org/">
<soap:Body>
<tns:DeleteUser1>
<tns:AuthenticationTicket>3f2504e0-4f89-11d3-9a0c-0305e82c3301</tns:AuthenticationTicket>
<tns:UserPassword>AdminP@ssword</tns:UserPassword>
<tns:UserName>jdoe</tns:UserName>
</tns:DeleteUser1>
</soap:Body>
</soap:Envelope>
UserPassword is the password of the calling administrator, not the user being deleted.PasswordRePromptActions.UserDelete = false), both DeleteUser and DeleteUser1 work; you may use either.TransferUser* APIs to reassign the user’s data (documents, tasks, subscriptions, memberships) to another user.| Error | Description |
|---|---|
[900] Authentication failed |
Invalid or missing authentication ticket. |
[901] Session expired or Invalid ticket |
The ticket has expired or does not exist. |
[900] Authentication failed |
The provided UserPassword is incorrect. |
| User not found | The specified username does not exist. |
| Access denied | The calling user is not a system administrator. |
SystemError:... |
An unexpected server-side error occurred. |