COGNOiSe.com - The IBM Cognos Community

IBM Cognos 8 Platform => COGNOS 8 => Report Studio => Topic started by: masilabalu on 31 Dec 2008 05:12:21 AM

Title: Want to Pass Cognos login Username into Report
Post by: masilabalu on 31 Dec 2008 05:12:21 AM
Hi All,

I want to display the Cognos login username into the report...

ex: My login id is "Admin" i want to display "Admin" in the Report Header..

Pls help me

Thanks
Balu
Title: Re: Want to Pass Cognos login Username into Report
Post by: Gopinath on 31 Dec 2008 05:59:59 AM
create a dataitem with the following expression, and display it in your report header.

#sq($account.defaultName)#

Title: Re: Want to Pass Cognos login Username into Report
Post by: masilabalu on 01 Jan 2009 02:08:37 AM
Quote from: Gopinath on 31 Dec 2008 05:59:59 AM
create a dataitem with the following expression, and display it in your report header.

#sq($account.defaultName)#

Thank you Gopinath, it is working...

Regards,
Balu.