LiveUser::getRights() -- Returns a one-dimensional array with all rights assigned to this user.
Description
Array format depends on the optional parameter: TRUE:
1 array(intRight_ID => intRightLevel, ...) |
FALSE
1 array(intRight_ID, ...) [Default] |
If no rights are available, FALSE is returned.
Parameter
- boolean
$withLevels
Return array with right_idīs as key and level as value
Return value
returns an array of rights or false
Throws
throws no exceptions thrown
Note
This function can not be called
statically.