Brimbox Logo Brimbox Version 2.3.4 Released


Method to check if a user has been locked. This is so an admin can lock a user immediately if necessary.

Class: bb_build, called as $main

File: bb_build.php (php)


function locked($con, $username, $userrole)


$main->locked($con, $username, $userrole)

Parameter: $con (database connector)
The database connection.

Parameter: $username (string)
The username to access the database row for the current user.

Parameter: $userrole (string)
The userrole to check whether the user still has permission.

Updated: 2016-07-10