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

Retrieve all the user's capabilities

Started by newbee2, 12 Jan 2010 08:05:33 AM

Previous topic - Next topic

newbee2

Hi all,

this is possible to retrieve all the Capabilities of one particular user?
I found an example but its just for the currently logged user.

Best Regards

xiska

Hi

Not so easy.
The sample you might have seen is using the session object.

In your case you need to get all memberships, as well as the memberships of the memberships, of the user and test them against the existence of the membershiplist and the user itselft of the capability. There is a function to get all role and group memberships of a user but it does not recognise :: - roles like camid(::System Administrator). So your result may become inaccurate.

Have fun.

rocket

BSP Software's MetaManager (www.bspsoftware.com) has a Content Store Documenter module that documents membership and capability information just as you've described.

jackmaster

Hi,
   
I'm facing the same problem. I can retrieve all groups and roles and theirs members using expandMembers() function but i don't know how to extract capabilities of these users. Does anyone find the solution for it?

Thanks in advance!   

   

murali999

Hi,

PFA Java Program that will list all the Capabilities with their access permissions and creates the CSV file
open the output CSV file in Excel ..


by doing small modification to this code you can get the user specific capabilities

Regards,
Murali.