define("MSG_SET_ADMIN_GROUP", 22);
define("MSG_PROVISION_USER",23);
define("MSG_GET_USERS", 24);
+define("MSG_DELETE_USER", 25);
// the gaasd call's $MESSAGE[<MSG>]_server() for the server side
// and $MESSAGE[<msg>]_client() for the client side
$MESSAGES[MSG_SET_ADMIN_GROUP] = "gaasSetAdminGroup";
$MESSAGES[MSG_PROVISION_USER] = "gaasProvisionUser"; // username
$MESSAGES[MSG_GET_USERS] = "gaasGetUsers"; // [admin|client], [name pattern], [only with tokens]
+$MESSAGES[MSG_DELETE_USER] = "gaasDeleteUser"; // username
global $MESSAGES;
$i = 0;
foreach($info as $kpot => $lpot) {
if(isset($lpot["samaccountname"])) {
- $arbi[$i]["username"] = $lpot["samaccountname"][0];
- $arbi[$i]["realname"] = $lpot["name"][0];
- $i++;
+ $arbi[$lpot["samaccountname"][0]] = $lpot["name"][0];
}
}