How could i get the current user account name?

(xsir317) #1

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.

(vipsoft) #2

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

(xsir317) #3

Thanks!! done!

thank you for help~

(xsir317) #4

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