trying to figure out why one of the DC servers is really bad.
[ga4php.git] / unittests / useringroup.php
diff --git a/unittests/useringroup.php b/unittests/useringroup.php
new file mode 100644 (file)
index 0000000..06c7cc3
--- /dev/null
@@ -0,0 +1,14 @@
+<?php
+
+require_once("../gaas/lib/globalLib.php");
+
+// function userInGroup($user, $domain, $adlogin, $adpass, $group)
+$ret = userInGroup($argv[1], $argv[2], $argv[3], $argv[4], $argv[5]);
+
+if($ret) {
+       echo "true\n";
+} else {
+       echo "False\n";
+}
+
+?>
\ No newline at end of file