an array of group names * @since 4.5.0 * * This function fetches all groups a user belongs to. It does not check * if the user exists at all. */ public function getUserGroups($uid); /** * @brief Get a list of all groups * * @param string $search * @param int $limit * @param int $offset * @return array an array of group names * @since 4.5.0 * * Returns a list with all groups */ public function getGroups(string $search = '', int $limit = -1, int $offset = 0); /** * @brief Check if a group exists * * @param string $gid * @return bool * @since 4.5.0 */ public function groupExists($gid); /** * @brief Get a list of user ids in a group matching the given search parameters. * * @param string $gid * @param string $search * @param int $limit * @param int $offset * @return array an array of user ids * @since 4.5.0 * @deprecated 27.0.0 Use searchInGroup instead, for performance reasons */ public function usersInGroup($gid, $search = '', $limit = -1, $offset = 0); }