High-precision positioning scheme, an important part of indoor navigation, can be implemented using an ultra-wideband (UWB) based ranging system. Recently, solutions for precise positioning in dense multipath and non-line-of-sight (NLOS) conditions have attracted a lot of attentions. On the other hand, it is expected that waveform division multiple access (WDMA) technology for multiuser UWB positioning applications will be indispensable in the near future. In this regard, a WDMA-UWB-based positioning scheme is investigated in this paper, to enhance the positioning accuracy in multiuser applications. In accordance with practical requirements of indoor positioning, we propose a new indoor positioning scheme, termed as WDMA-UWB-based indoor positioning (WUB-IP). This scheme adopts WDMA for multiple access, and utilizes an entropy-based approach for the time of arrival estimation. Moreover, a transfer learning approach is used to mitigate the ranging error in NLOS conditions, in order to improve the positioning accuracy in NLOS conditions. System-level simulations demonstrate that the proposed scheme enhances the performance of indoor positioning for multiuser applications.