Is it possible to access custom user fields in Joomla 5 via the Joomla user object? The user object gives nice easy access to the standard user fields (as documented here), but it would be very helpful to access the custom fields in a similarly easy way.
If they cannot be accessed via the user object, is there another easy way of accessing them, other than querying the #__fields_values table? Admittedly, the latter isn't particularly difficult, but it would be neater and more efficient to access them via some pre-built functionality.
Thank you!