# How to get username from Joomla site?

**URL:** https://forum.kirupa.com/t/how-to-get-username-from-joomla-site/592731
**Category:** programming
**Created:** [March 28, 2015, 12:45pm UTC](https://forum.kirupa.com/t/how-to-get-username-from-joomla-site/592731 "2015-03-28T12:45:26Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![panoss](https://avatars.discourse-cdn.com/v4/letter/p/db5fbb/32.png) [@panoss](https://forum.kirupa.com/u/panoss)
#### Post date: [March 28, 2015, 12:45pm UTC](https://forum.kirupa.com/t/how-to-get-username-from-joomla-site/592731/1 "2015-03-28T12:45:27Z")

</div>

I 'm making a Flash cs3 application and I want, when it loads, to check if the user is logged and get username.  
How can I do this?  
When I call a php file the JFactory can’t be accessed.  
Is amfphp the way?  
And how can I do it with amfphp?
