How could i get the current user account name?

eg.i am login with the account"testaccount"

how can i get the account name “testaccount”? i can not find the API to do this.

If you’re referring to the account name of the Piwik user logged in, it’s Piwik::getCurrentUserLogin().

Thanks!! done!

thank you for help~

i should read the source code carefully first… style_emoticons/<#EMO_DIR#>/tongue.gif