check_auths()
check_auths( $arrAuths, $mode = 'AND', $boolDie = true, $intUserID, $boolGroups = true) : boolean
Checks if a user has all (AND) or one (OR) of the required permissions
Parameters
|
$arrAuths |
Array of Permission we want to check |
|
$mode |
|
|
$boolDie |
|
|
$intUserID |
|
|
$boolGroups |
|
Returns
boolean