-
Notifications
You must be signed in to change notification settings - Fork 0
api auth user list
Alban LEROUX edited this page Oct 3, 2011
·
3 revisions
Retrieve all users.
- require
admingrant access *
{
"method" : "auth.user.list",
"request" : {}
}<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<xml>
<method>auth.user.list</method>
<request />
</xml>{
"status" : "valid",
"response" :
{
"user" :
[
{ "id" : 1, "name" : "willy" },
{ "id" : 2, "name" : "jhon" },
{ "id" : 3, "name" : "smith" },
{ "id" : 4, "name" : "eric" },
]
}
}<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<xml>
<status>valid</status>
<response>
<user><id>1</id><name>willy</name></user>
<user><id>2</id><name>jhon</name></user>
<user><id>3</id><name>smith</name></user>
<user><id>4</id><name>eric</name></user>
</response>
</xml>No argument needed.
NOTE: Even if no argument needed in the request the field
requeststill mandatory, keep it empty.
user array of user with id for user id and name for user name.
auth.config.get
auth.config.set
auth.request
auth.token
auth.refresh
auth.destroy
auth.user.add
auth.user.set
auth.user.del
auth.user.get
auth.user.list
auth.entity.add
auth.entity.set
auth.entity.del
auth.entity.get
auth.entity.list
auth.grant.add
auth.grant.set
auth.grant.del
auth.grant.get
auth.grant.list