Class DeleteUserCommand

java.lang.Object
org.labkey.remoteapi.Command<ResponseType,org.apache.hc.client5.http.classic.methods.HttpPost>
org.labkey.remoteapi.PostCommand<CommandResponse>
org.labkey.remoteapi.security.DeleteUserCommand
All Implemented Interfaces:
HasRequiredVersion

public class DeleteUserCommand extends PostCommand<CommandResponse>
Deletes existing users based on userIds If it executed without exception, the users have been deleted
  • Constructor Details

    • DeleteUserCommand

      public DeleteUserCommand(int userId)
  • Method Details

    • getUserId

      public int getUserId()
    • setUserId

      public void setUserId(int userId)
    • getJsonObject

      public org.json.JSONObject getJsonObject()
      Description copied from class: PostCommand
      Returns the JSON object to post or null for no JSON. Override this method to provide parameters as JSON.
      Overrides:
      getJsonObject in class PostCommand<CommandResponse>
      Returns:
      The JSON object to post.