comms work between authd and authclient
[ga4php.git] / authserver / usercmd.php
index fb22db0..910372e 100644 (file)
@@ -34,6 +34,7 @@ if(!isset($argv[1])) {
        echo "\tsetname: setname <username> <realname> - sets the real name for a user\n";
        echo "\tsettoken: settoken <username> <tokenkey> - sets the key (hex) for a token\n";
        echo "\tsettype: settype <username> <tokentype> - sets a token type for a user\n";
+       echo "\tgetusers: getusers - gets a list of users\n";
        return 0;       
 }
 
@@ -66,5 +67,8 @@ switch($argv[1]) {
        case "settype":
                $myAC->setUserTokenType($argv[2], $argv[3]);
                break;
+       case "getusers":
+               $myAC->getUsers();
+               break;
 }
 ?>
\ No newline at end of file