| 123456789101112131415 |
- <?php
- require_once("api/Zm/Auth.php");
- require_once("api/Zm/Account.php");
- $auth = new Zm_Auth('192.168.16.225', 'admin@thurdata.local', 'Technics2312');
- $l = $auth->login();
- $accountManager = new Zm_Account($auth);
- $r = $accountManager->getAccountOptions('test1@thurdata.local');
- if(is_a($r, "Exception")) {
- print_exception($r);
- } else {
- print_var($r, "Get Account Options");
- }
|