adminLogin - A login of the administrator to the server
The administrator logged to the server can send messages to all other clients of the server, no matter the domain or room they are logged to. The list of administrators is inserted in admin.config in the section admins.
XML request, sent by the client to the server
<protocol>
      <adminLogin user="John" password="abc" sid="1"/>
</protocol>
                    
Attribute
Meaning
user
The name used for the administrator to log in to the XML Socket Multiuser Server.
password
The password used for the administrator to log in to the XML Socket Multiuser Server.
XML response of the server to the client
<protocol>
     <response action="adminLogin" clientId="5F1A84-EF25-41E0-BAF3-0DFC7B252" errorCode="0" [sid="1"]/>
</protocol>
                    
Attribute
Meaning
clientId
Identificator unambiguously identifying each user.
errorCode
Error description
1001
Incorrect name or password to get connected to the Server.
1002
The password contains less than 7 characters.
1003
No name or password is inserted.
1004
The number of allowed attempts to connect to the server was exceeded.
1005
The client is already logged in the server. If he wants to log in again using another administrator’ s account, he has to get disconnected first.