CloseUser

Description

Closes an active user and all related services.

Formal Definition

https://ws.interfax.net/admin.asmx?op=CloseUser

Input

Name Type Comments
PrimaryUsername String The name of the user authenticating to the API
PrimaryPassword String The password for the username
Username String User to be closed

Output

Name Type Comments
CloseUserResult Integer Returns 0 for success, otherwise an error code indicating what went wrong; see the Error Codes, below. For the full list of error codes see Appendix A.

Error Codes

Value Description
-150 Internal System Error. An exception occurs at any point in the execution of the web service method.
-1003 Authentication error: the user cannot be authenticated when either the username or the password is incorrect OR any other last error occurred when authenticating the user.
-2014 The specified username is invalid.
-2016 A user attempted to close their own account.