title: How do you get the current user object in Joomla 1.5?
body: <p>In Joomla 1.0, the current User object was stored in a global variable called <code>$my</code>. This doesn't exist in Joomla 1.5 any more - how do I get that object? Also, how can you tell if the user hasn't logged in?</p>