2 Replies Latest reply on May 8, 2009 2:51 PM by dvanwest

    Removing Users from Portal

      Greetings,

      We're running portal version 2.4.2.

      If one uses the API's userModule.removeUser(userID) method to remove inactive users, will it cleanup things like customized pages, etc. that the user may have created? Or is that something I have to deal with explicitly?

      Thanks.

        • 1. Re: Removing Users from Portal

          Looking at the database, it appears that calling the removeUser() method doesn't cleanup all other user related information in the JBoss portal database.

          I see user references left in jbp_instance_per_user. Don't know what else might be lingering.

          Is there some other method of removing inactive users?

          Thanks.

          • 2. Re: Removing Users from Portal

            Found part of the solution, by using the following method:

            customizationManager.destroyDashboard(userId);


            But now I'm wondering how one removes portlet preferences that are not associated with dashboard portlets. How does one find the portlets that a user has customized via the API?

            Any suggestions?

            Thanks