Load users list in XML
This API is used to load a list of users.
Example API call
/lcapi?book=1&collection=1&target=admin&action=get_users
Parameters
| Parameter | Description |
|---|---|
target | admin |
action | get_users |
book | The id of the publication, an integer, such as 1. |
collection | The id of the collection, an integer, such as 1. |
Returns
- On success
-
Returns the list of all existing users
<USERS> <USERBODY> <USERITEM STATUS="" USER_ID="admin"> <LOGIN>admin</LOGIN> <GROUP>ADMINISTRATOR</GROUP> <LAST_NAME/> <FIRST_NAME/> <COMPANY/> <COMPCODE/> </USERITEM> <USERITEM STATUS="" USER_ID="n_1459755986251_1459759113360"> <LOGIN> newUser </LOGIN> <GROUP>EDITOR</GROUP> <LAST_NAME> newUser </LAST_NAME> <FIRST_NAME> newUser</FIRST_NAME> <COMPANY/> <COMPCODE/> </USERITEM> <USERITEM STATUS="" USER_ID="guest"> <LOGIN>guest</LOGIN> <GROUP>GUEST</GROUP> <LAST_NAME/> <FIRST_NAME/> <COMPANY/> <COMPCODE/> </USERITEM> </USERBODY> </USERS> - On failure
- Returns nothing