0 Replies Latest reply on Jul 30, 2008 8:34 PM by Alfred Milo

    how to get portal instance name for currently logged in user

    Alfred Milo Newbie

      this is a question that was asked several times on this forum but I didnt find exact answer.

      Question is: "how to get portal instance name for currently logged in user" ?
      Example:
      - portal instance 'customportal1' is created using Admin UI
      - user logs in using http://localhost/portal/portal/customportal1/

      how to get "customportal1" or object containing info about Portal user is logged in ?


      Environment:
      JBoss Portal Version: 2.6.6GA
      JBoss AS Version 4.2.2.GA
      Database Vendor and Version: MySQL
      OS Platform : windows XP

      Thanks,
      Alfred M.