Author xweber
Date 2004-11-04 23:12
Posts: You can get informations regarding the current user with:

$ui = $opnConfig['permission']->GetUserinfo();
$ui is an array with lots of information. Test is with:
echo print_array($ui);
and you will see the detail

You may also want to check if the current user is logged in:

$opnConfig['opnOption']['user_login']
it is "false" if the user is not logged in.

Alex


Print this page
Close this page

This article comes from OpenPHPnuke International Support

http://www.openphpnuke.com/