JSON-RPC:User

The  JSON RPC calls can list and retrieve information about users.

= Structure of a client object = A "Client object" is used in responses. In case of  API calls the result in response will always be a user (never a server).

NOTE: The client.server object is never returned with the  API calls, because the user.* API calls only deal with users. In the future there will be  API calls for handling servers.

= API Calls =

user.list
List users.

Request arguments
No mandatory arguments at the moment

Example
{"jsonrpc": "2.0", "method": "user.list", "params": {}, "id": 123}

user.get
Retrieve all details of a single user.

Request arguments
Mandatory argument:
 * nick: the nick name or the UID

Example
Simply by nick name: {"jsonrpc": "2.0", "method": "user.get", "params": {"nick":"XYZ"}, "id": 123}

Or by NICK ID, which is safer if you already know the ID, because the ID will not change between nick changes: {"jsonrpc": "2.0", "method": "user.get", "params": {"nick":"0017A04PU"}, "id": 123}