The EnxRoom.dropUser() method allows the Moderator to disconnect / force-drop one or more participant(s) from the Session.

Class: EnxRoom

Method: public void dropUser(List<String> clientIds)


  • clientIds – Required. List of Client IDs to be disconnected.


  • onAckDropUser - Acknowledgment to the Moderator when the user is disconnected.
  • onRoomDisconnected - Notification to the affected user with the reason to be disconnected from the Room.

// Moderator is acknowledged that user has been dropped
public void onAckDropUser(JSONObject jsonObject) {
	// Handle JSONObject

Error Codes & Exceptions

5116Unauthorized Access. When a user with participant role invokes dropUser()