Different Layout for Module?

So, I want to based upon someone’s login, teake the user to a different… portal if you will. I figure the easiest way to do this would be a module for each portal… and each portal would have a totally different site layout.

The "main" application would essentially be a login page.

I can’t for the life of me figure out how to make a module have its own layout.

In the Yii documentation, the modules have a "layout" variable as well as a "pathLayout" variable…

Anyone know of how to do this? Or point me in the right direction?