Is there a way to change the default startup view, based on the user level ("rights" column) in the WebAppUser table?

Delegate Set phoDefaultView to Self

The above code will automatically load this view when starting the webapp -- but what if I want it to change, based on a column in a table?