Someone requested this a while back so I made some changes to one of the existing mods (
https://vborg.vbsupport.ru/showthread.php?t=188684) to allow multiple domains/usergroups. I got permission from the mod author to post my changes in the mod thread, but I never did (until today). Note that my modified version hasn't been tested very much, but does seem to work with vb4 (as does the original mod, according to someone who posted in the thread).