Lines Matching refs:container
84 if (!array_key_exists("container", $attributes)){ return "Missing compulsory field [container]"; }
85 if (!is_array($attributes["container"])){ return "Container attribute must be an array."; }
114 // Determine the container
115 $attributes["container"] = array_reverse($attributes["container"]);
116 $container = "OU=" . implode(", OU=",$attributes["container"]);
119 $result = @ldap_add($this->adldap->getLdapConnection(), "CN=" . $add["cn"][0] . ", " . $container . "," . $this->adldap->getBaseDn(), $add);
645 * @param array $container The container or containers to move the user to (please be careful here!).
649 public function move($username, $container)
653 if ($container === null) { return "Missing compulsory field [container]"; }
654 if (!is_array($container)) { return "Container must be an array"; }
659 $container = array_reverse($container);
660 $newContainer = "ou=" . implode(",ou=",$container);