listaccts api search User by domain
Please can someone help me?
how to search the User by domain
example:
I've tried, but it does not work. Thanks, Renata
$domain = 'mydomain.com';
$accounts = $whm->listaccts($domain);
foreach ($accounts as $ac){
$userCp = $ac["user">;
}
echo $userCp;I've tried, but it does not work. Thanks, Renata
-
Hello, Here's the command line example: whmapi1 listaccts search=cptest123.com searchtype=domain
Are you attempting to list specific types of accounts? Ensure you review the document for this API function at: WHM API 1 Functions - listaccts - Software Development Kit - cPanel Documentation Thank you.0
Please sign in to leave a comment.
Comments
1 comment