Author Topic: Cognos SDK  (Read 4180 times)

Offline jayitrisaha

  • Associate
  • **
  • Join Date: Oct 2019
  • Posts: 1
  • Forum Citizenship: +0/-0
Cognos SDK
« on: 17 Oct 2019 01:22:12 pm »
Hi.... I am trying to find the user name/ID who last modified a report or package using Cognos SDK.
Can anyone advise how to get this information?

Offline Andrei I

  • Community Leader
  • *****
  • Join Date: Jan 2006
  • Posts: 193
  • Forum Citizenship: +7/-0
Re: Cognos SDK
« Reply #1 on: 11 Nov 2019 09:21:10 am »
I assume you could get modificationTime  from a baseClass.

PropEnum  props[]  =
   new  PropEnum[]  {PropEnum.searchPath,  PropEnum.defaultName,  PropEnum.modificationTime ,   PropEnum.userName};

Look at the links below

https://www.ibm.com/support/knowledgecenter/en/SSEP7J_11.0.0/com.ibm.swg.ba.cognos.ca_dg_sdk.doc/r_d15e1288166.html#bibus_propEnum


https://www.ibm.com/support/knowledgecenter/en/SSEP7J_11.0.0/com.ibm.swg.ba.cognos.ca_dg_sdk.doc/i_d15e243350.html#bi_bus_api_content_management_querying_content_store_Example__Querying_the_Content_Store_in_Java