UF blacklist for SQL - same as groupaccess() but $field is the user_id column.
blacklist( string $field ) : string
$field (string) (Required) User ID field.
(string) It can return an empty condition if the user_blacklist field is not installed.
$result = dbquery("SELECT user_id, user_name
FROM ".DB_USERS."
WHERE ".blacklist('user_id')."
");