How do I Add/Remove Users to/from groups using the Java API?

I am trying to create a custom logon page that will allow our users to run all of their existing reports against a training database rather than a production database.

I have created the logon page, and intend to make it so that it adds the user into a group called training, and then logs them in. The universes are all set up in such a way that if you are in the training group, you use the training connection rather than the production connection.

What I can’t figure out how to do is add the user into the training group before they log in, and conversely remove them from the training group before they log in normally.

I have tried to do this using an ActiveDirectory group (as we use LDAP authentication on AD), but the AD group membership does not seem to be reflected quick enough in InfoView, so I think I need to use an enterprise group instead.

Any thoughts?

Thanks,

Ed.


ed_mcgough :australia: (BOB member since 2005-05-30)

Would it be easier to point the users to another environment (say Development), where the universe connection would point to your Training database?

DJ


DJ06482 :us: (BOB member since 2002-11-22)

Yeah, that might be easier, but I’m not sure how that would work with Licensing. Our dev and test licenses are just that - for development and testing of BO Enterprise.

Whilst what we are trying to enable is kind of testing, it’s testing of user processes and how they affect the reports, not testing an upgrade or patch or something like that.

We also have the problem that our dev/test systems are on VMWare, and tend to get broken every now and again, and that if a user creates a WebI report from a universe and then want to run that report against the training database, we have to make sure that the dev/test system is synchronised somehow so that it always has the latest versions of the reports on it.

Ed.


ed_mcgough :australia: (BOB member since 2005-05-30)