Quantcast
Channel: Joomla! Forum - community, help and support
Viewing all articles
Browse latest Browse all 2207

Joomla! 4.x Coding • Re: Add new Joomla 4 user via api

$
0
0
Can you not just create the object? Something like

Code:

$newUser = new \Joomla\CMS\User\User();
I found the class by looking in an HTMLView at the code for getCurrentUser. netBeans made it easy to follow the trail.

Statistics: Posted by MarkRS — Tue Feb 06, 2024 8:01 pm



Viewing all articles
Browse latest Browse all 2207

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>