public revokeRole ( $role, $rolename, $admin, $type = 'RESTRICT' ) | ||
$role | The name of the target role | |
$rolename | The name of the role that will not belong to the target role | |
$admin | (optional) Flag to revoke only the admin option | |
$type | (optional) Type of revoke: RESTRICT | CASCADE |