references:joomla.framework:environment:juri-getusernameTable of Contents
getUsername
Gets the URI username. This function returns the username, or null if no username was specified. Syntaxstring getUsername () ExamplesExample $uri = new JURI( 'http://user:secret@www.joomla.org?action=help#create' ); echo "Username: " . $uri->getUsername(); might produce: Result Username: user |


