COGNOiSe.com - The IBM Cognos Community

IBM Cognos 8 Platform => COGNOS 8 => Report Studio => Topic started by: Sunflower on 23 Sep 2010 03:48:44 PM

Title: Session Parameters for getting Namespace name
Post by: Sunflower on 23 Sep 2010 03:48:44 PM
hi,

can any one help me out with this

i want a session parameter for getting the NameSpace name.

I have 2 name space and some users will be in both.i have to apply security .

can any one help me.,
Title: Re: Session Parameters for getting Namespace name
Post by: technomorph on 24 Sep 2010 04:29:49 AM
I could be wrong, but I don't think this will be possible because session parameters are only available once the session has been established i.e. logged on to a given namespace.

What exactly do you need to do?

Cheers
Title: Re: Session Parameters for getting Namespace name
Post by: Sunflower on 24 Sep 2010 09:42:11 AM
i have 3 name space and each namespace hace many users.
again there can be one user belonging in 2 namespace.

if a user access a report ,how do i know ,to which name space it belongs.
can we do this with a session parameter.
Title: Re: Session Parameters for getting Namespace name
Post by: technomorph on 27 Sep 2010 04:36:57 AM
You can secure access to portal objects using more than one namespace, so a report does not belong to one namespace.

Title: Re: Session Parameters for getting Namespace name
Post by: cccschip on 13 Oct 2011 03:36:52 PM
Sunflower,

Did you ever get an answer?

I have the same need.  I wish to define a filter on a query subject along the lines of:
[itemName] = #sq(%account.Namespace)#

I would think that, after a user has logged on to a particular namespace, the name of that namespace should be available to us through a session parameter (or the like).