Current fifth‐generation (5G) cellular networks must be upgraded to sixth‐generation (6G) networks as the data rate demands are increasing dramatically. In 6G, the re‐configurable intelligent surfaces (RISs) concept has recently received a lot of attention, it is a new technology that can be configured to optimize the wireless propagating environments and adjust wireless settings to improve the throughput of a network. RIS is emerging as a solution for Tera‐Hertz technologies. Therefore the joint user and the throughput maximization problem with RIS‐assisted B5G/6G wireless network is investigated in this paper subject to power transmission, quality of service (QoS), and phase shift constraints. The proposed research work focuses on RIS‐assisted wireless transmission, to collaboratively improve the admitted users and the throughput for all users in comparison to a traditional communications platform. The problem formulated is non‐convex resulting in the mixed integer non‐linear programming (MINLP) problem. MINLP problems are NP‐hard problems. A mesh adaptive direct search (MADS) algorithm is proposed to solve this problem efficiently. Extensive simulation work validates the proposed algorithm, in a RIS‐assisted network. Results achieved from the simulation show that by incorporating RIS in a network, efficient resource allocation increases throughput and maximizes the admitted users in a wireless network. The proposed MADS algorithm outperforms the existing advanced algorithms and its computational complexity is also low.