DeleteUser Method

CxSDKWebService.DeleteUser Method

public CxWSBasicResponse DeleteUser(string sessionID, int userID);


  • sessionID: The current Session ID
  • userID: The user ID of the user to be deleted.

Return Value

CxWSBasicResponse, including:

  •  IsSuccessful: Indicates that the user has been successfully deleted, in which case the message "User deleted" is displayed.


To delete a user:

internal void Main(string [] args)
    String sessionID = args[0];
int userId = int.Parse(args[1]);
CxSDKWebService cxSDKProxy = new CxSDKWebService();
CxWSResponseGroupList response = 
    cxSDKProxy.DeleteUser(sessionId, userId);
if (response.IsSuccesfull)
Console.Writeline("User deleted");
Console.Writeline("User deletion failed");

SOAP to REST Mapping

This section covers SOAP to REST migration and mapping of our legacy SOAP based SDK to the new REST APIs. It is recommended to use this reference only once CxSAST V8.8.0 is installed.


For future release

For more mapping information, refer to API Mapping (SOAP to REST). You can also find a summary of our REST APIs here