X-Git-Url: http://git.pjr.cc/?p=ga4php.git;a=blobdiff_plain;f=authserver%2Fusercmd.php;h=910372ef28814fed479adf8098c1293f286c1ae3;hp=fb22db075e8e9a2b88b41b39818bf7f865b378dd;hb=2e2593d79cc3b24e0db34ec434e7f4383cf3651d;hpb=3354ed0d5c9f3877ac2222ac25326acd05d3d236 diff --git a/authserver/usercmd.php b/authserver/usercmd.php index fb22db0..910372e 100644 --- a/authserver/usercmd.php +++ b/authserver/usercmd.php @@ -34,6 +34,7 @@ if(!isset($argv[1])) { echo "\tsetname: setname - sets the real name for a user\n"; echo "\tsettoken: settoken - sets the key (hex) for a token\n"; echo "\tsettype: settype - 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