COGNOiSe.com - The IBM Cognos Community

IBM Cognos 10 Platform => Cognos 10 BI => SDK => Topic started by: karthik12345 on 12 Aug 2016 10:06:16 AM

Title: logon method for anonymous authentication
Post by: karthik12345 on 12 Aug 2016 10:06:16 AM
Hi,

what is the way to run a report in anonymous authentication, i tried to pass null values and empty space to namespace id,username and password but i got the error(Busheader error).
may i know is there any way for anonymous authentication in cognos sdk.

Thanks in advance,
Karhtee
Title: Re: logon method for anonymous authentication
Post by: Kiran P on 13 Aug 2016 03:41:32 AM
Hi

I think for anonymous authentication you don't need to call any authentication/logon method at all.

IBM has lot of documentation related to this. I am sure you can find many examples when you google it.

Thanks
Kiran
Title: Re: logon method for anonymous authentication
Post by: Marva55 on 29 Aug 2016 02:39:22 AM
You could run a random query against the Cognos environment using the Content Manager service and if it succeeds you can conclude that anonymous authentication enabled, otherwise you will have to to a logon using credentials.