COGNOiSe.com - The IBM Cognos Community

IBM Cognos 8 Platform => COGNOS 8 => COGNOS 8 Administration => Topic started by: msamis on 09 Nov 2012 11:57:46 AM

Title: Mass Creation of Data Source Logons
Post by: msamis on 09 Nov 2012 11:57:46 AM
Is there a way to mass create Data Source signons?  We need to create hundreds of individual logins (not groups) to a data source.  To go though the normal procedure in Cognos Administration of creating the login, adding the username and password, then connecting it to the data source takes about one minute.  I thought there might be a way to save time and mass load users via some SDK or scripting procedure.
Title: Re: Mass Creation of Data Source Logons
Post by: tjohnson3050 on 09 Nov 2012 12:59:13 PM
Are you going to assign each sign on to a single person?  That sounds like a maintenance nightmare.  Have you fully investigated passing the credentials of the logged on user down to the datasource instead?
Title: Re: Mass Creation of Data Source Logons
Post by: msamis on 09 Nov 2012 01:53:29 PM
Thanks for replying.
Yes. We are using Oracle Enterprise and VPD (Virtual Private Database) and the credentials are actually passed to the data source.  The problem is each user must view their own data specific to them (hense the VPD). So far the only way we have found to do this is to create the Cognos signon individually.
Title: Re: Mass Creation of Data Source Logons
Post by: tjohnson3050 on 09 Nov 2012 05:52:06 PM
I think your best bet would be to integrate Oracle Authentication with whatever directory you are using for Cognos (AD, Sun etc).

http://www.oracle.com/us/products/middleware/identity-management/059380.pdf

That way, the signed on user credentials can pass all the way down to Oracle, and you only have to setup one sign on for your database connection.

If you can't do that, I don't how to script the creation of the logins, perhaps someone else here might be able to help with that aspect.
Title: Re: Mass Creation of Data Source Logons
Post by: bdbits on 19 Nov 2012 03:23:26 PM
Beyond what tjohnson3050 wrote, you would likely have to write an app with the SDK, which is not free. As far as I know there is no 'scripting' support.
Title: Re: Mass Creation of Data Source Logons
Post by: cognostechie on 19 Nov 2012 03:33:55 PM
How is the data seperated in Oracle for different users? Only by their user-id or some other field like Entity for a whole group or department? I would presume the data won't be different for each user but rather by some group unless it is like Salesreps should see only their sales or something like that.

Either way, you can use a standard sign-on for everybody and then use the parameterised security in Framework or even reports using Cognos macros so that each user gets to see only his/her data.