COGNOiSe.com - The IBM Cognos Community

IBM Cognos 8 Platform => COGNOS 8 => Report Studio => Topic started by: chris2001dc on 21 Jun 2010 11:39:16 AM

Title: Read Active Directory Group
Post by: chris2001dc on 21 Jun 2010 11:39:16 AM
Hi,

I have a Cognos 8.4 installation with Active Directory authentication. Is it possible to read the active directory group of the user logged? I need to evaluate this group to show specfic content for each user in the report. Any solutions?

Thanks,
Chris
Title: Re: Read Active Directory Group
Post by: tupac_rd on 21 Jun 2010 12:07:01 PM
add a query calculation in the report query called "Group Name" with the following expression #sq(csv(CAMIDListForType('group')))#

HTH
2pac
Title: Re: Read Active Directory Group
Post by: chris2001dc on 23 Jun 2010 10:54:32 AM
thanks,
I used this macro function

#sq(CSVIdentityNameList())#