There's no easy way, as far as I know. But every column which includes a user ID should be named either "UserID" or "SomethingUserID". So if you dump the database structure and search for "UserID", you should be able to find columns which need to be looked at.