Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Userid in Reportnet

Status
Not open for further replies.

karthikcp

Programmer
Jan 20, 2005
5
GB
Hi All ,
Does any one have an idea of getting userid in cognos reportnet ?
 
Yes, it's called the CAMID and can be found under the properties of the user. (SearchPath)
 
If you want to use the userid from within a ReportNet report, the following session parameters are available in 1.1 (we're on 1.1.230.2, using Access Manager for authentication, there may be more available in later versions or with other LDAP providers):

account.defaultName
account.personalInfo.email
account.personalInfo.givenName
account.personalInfo.surname
account.personalInfo.userName
runLocale

So, for example, we use a filter in ReportNet that looks like this:

[MODEL].[NAMESPACE].[LOGIN] =
#sq($account.personalInfo.userName)#

The Basic Signon and OS Signon are not available as session parameters, according to Cognos. I put in an enhancement request for this. We ended up tacking the signon onto the end of the username and actually selecting a substring of the userName parameter to get the login information.

Don't know if that was what you were looking for, but hope that helps.

PCNewbie, can you post more details on what you mean by using (SearchPath)? I'm not really familiar with that.

Thanks,
Stacy
 
The search path for a user refers to the way that each user or group is stored inside of the content store. When you authenticate against a security provider for the first time, an entry gets created in the content store that ties the user to their personal content. This is called the CAMID. To view a users' CAMID, you can go to the preferences tab for that user and there will be a 'view the search path' link. This will display the CAMID for the user.
The CAMID comes in handy for bursting or when using the SDK.

Hope that helps to clear things up.
Sorry PCNewbie for putting words in your mouth. :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top