Good afternoon. I am using phpmaker v9 and I want to fetch the information of the user logged-in in the system. I tried these code statements that I have seen in other posted topics:
echo $GLOBALS["Security"]->CurrentUserInfo("lastname");
if ( IsLoggedIn() )
{
echo CurrentUserInfo("lastname");
}
but it does not print anything. Thank you.