1 Reply Latest reply on Jun 30, 2006 8:29 AM by alesj

    User role change

    rflammer

      Hi,
      I was wondering if there is a way to make a portlet which allows a user to see a list of roles (not all roles, just the ones I choose) and let them switch to the role that they choose. Please let me know if you have a way to do this.
      Thanks

        • 1. Re: User role change
          alesj

          Look at the RoleModule class.

          And you can get it from JNDI:

           @JndiInject(jndiName = ModuleConstants.ROLEMODULE_JNDINAME)
           private RoleModule roleModule;
          


          Rgds, Ales