If you are unable to create a new account, please email support@bspsoftware.com

 

News:

MetaManager - Administrative Tools for IBM Cognos
Pricing starting at $2,100
Download Now    Learn More

Main Menu

SDK Function to get the user details for a particluar package or report ?

Started by Shahoul, 13 Aug 2008 01:24:56 AM

Previous topic - Next topic

Shahoul

Hi all,

I require SDK function or any method to retreive user details who all belong to a particular package or report using their path...

lindero

1.) you have to identify the users who have access to the according object

- Properties enumeration to use
PropEnum enum[] = new PropEnum[]{PropEnum.policies};

2.) then you can call another query method with the searchpaths of the user (group/role) objects to get user infos from ContentManager.

Shahoul

Thanks Lindero...

        I just want to know whether there is any search path like this "/content/package[@name=]/report[@name=]/user" to fetch the users belonging to a particular report and also want to know how to fetch the permission rights for each user group or role using SDK function...

lindero

IMHO, there is no searchpath because the information which user/group/role has several rights on an object. This is stored in the advanced properties of an object. But nevertheless if you'll find something, Iw ould be very insterested at the technique. ;-)