Kovid accepted changes that allow one to make a composite column containing the user categories for a book. These changes will be in the next release.
The template for the column will be
Code:
program: user_categories()
It is worth noting that this is an expensive function that could slow calibre excessively. Once it is released, or now if you run from source, try it to see if the performance is acceptable.