Get users/admins email address?

Permalink
How do I get the email address of the person logged in to concrete5 editing? I need to echo it from a block in a package.

Thank you

phatworks
View Replies: View Best Answer
LucasAnderson replied on at Permalink Reply
LucasAnderson
Check out this page and the related forum posts below it:

http://www.concrete5.org/documentation/developers/permissions/users...
phatworks replied on at Permalink Best Answer Reply
phatworks
$u = new User();
$ui = UserInfo::getByID($u->getUserID());
echo $ui->getUserEmail();