Question about website and users info.

Guillermo Esquivel Posted in Technical Support 9 years ago

How I can get the username of the loged in user?

Thanks!

Replies
mx Guillermo Esquivel Replied 9 years ago

Solved :) please close this discussion.

mx Guillermo Esquivel Replied 9 years ago

last question, how to print it?

mx Guillermo Esquivel Replied 9 years ago

Thanks so much! Please close this post.

Indonesian Arsalan Shah Replied 9 years ago

See the reference : aa3c8068d0e6638b414d6a2f6c62565b8
You can use following code:

$username =  ossn_loggedin_user()->username;