Not without querying the database, and for security reasons, vBulletin won't parse ANY scriptin that could possibly access a database.

After all, if you could read the database, you'd also be able to write to it, and that basically gives you admin.