Get List of Users owned by Reseller:
Function To get the list of Users currently owned by this reseller. If value reseller is passed, the list of Users created by that Reseller will be shown instead
Command CMD_API_SHOW_USERS
Method GET or POST
Success Returns url encoded array in list[]
Failure Returns error=1
Form Values:
Name Value
( reseller ) Optional. If passed, the list of Users created by the Reseller identified by reseller will be given. Else, the list of Users created by the Reseller calling the function will be produced
That's your answer!
As I can see on http://directadmin.com/api.html: Authentication is basic web authentication using base64 encryption of "usernameassword". Can I authenticate like reseller from plugin without asking his password?
yes you can,
$sock->set_login(admin|resellerloginname, "yourleetpassword");
Hm, but in this case reseller will be able to get my admin password from plugin source, won't him?
Nope He can't, you login as Reseller, but with admin password. The reseller can't see the password, or do admin things.