public function redirectToDefaultUserView()
    {
        $profile = $this->getUserProfile();
        if ($profile['roleStartpage'][0]) {
            $DEFAULT_URL = OPENBIZ_APP_INDEX_URL . $profile['roleStartpage'][0];
        }
        header("Location: $DEFAULT_URL");
        exit;
    }
public function redirectToDefaultUserView()
    {
        $profile = $this->getUserProfile();
        if ($profile['roleStartpage'][0]) {
            $DEFAULT_URL = OPENBIZ_APP_INDEX_URL . $profile['roleStartpage'][0];
        }
        header("Location: $DEFAULT_URL");
        exit;
    }
public function redirectToDefaultUserView ( ) { $ profile = $ this -> getUserProfile ( ) ; if ( $ profile [ 'roleStartpage' ] [ 0 ] ) { $ DEFAULT_URL = OPENBIZ_APP_INDEX_URL . $ profile [ 'roleStartpage' ] [ 0 ] ; } header ( "Location: $DEFAULT_URL" ) ; exit ; }
Goto default view of user

@todo have options : redirect or renderDefaultView
Goto default view of user