Cognos Analytics

 View Only
  • 1.  Cognos Analytics 11.2 - How to get a user's Groups or Roles through the REST API?

    Posted Mon September 06, 2021 08:29 AM

    Hi,

    There is a REST call to get a User and there is also a REST call to get the members of a Group or a Role. But is there a way to get all the Roles and Groups of a given user with {{user_ID}} through the REST APIs?

    Something along the lines of /api/v1/users/{{user_ID}}/groups and /api/v1/users/{{user_ID}}/roles. Please let me know if this is available or if I can get the desired result through a different way.

    Thanks,

    Sushant.



    ------------------------------
    Sushant Kulkarni #NewToCognos
    ------------------------------

    #CognosAnalyticswithWatson


  • 2.  RE: Cognos Analytics 11.2 - How to get a user's Groups or Roles through the REST API?

    Posted Thu September 16, 2021 03:12 PM
    Hi Sushant, 

    Currently there's no quick and easy way to do this. I've dug into this quite a bit recently, and contacted IBM about it. So far I've found that it's possible to traverse through AD and get a list of each role/group, but that's very slow and cumbersome. I'm not sure there is a convenient way of doing this.

    ------------------------------
    Paul Mendelson
    ------------------------------



  • 3.  RE: Cognos Analytics 11.2 - How to get a user's Groups or Roles through the REST API?

    Posted Fri September 17, 2021 10:48 AM
    Thinking out loud. Active Directory has the member of attribute you might be able to expose depending on your configuration (ie. custom attributes).

    ------------------------------
    Robert Hofstetter
    ------------------------------



  • 4.  RE: Cognos Analytics 11.2 - How to get a user's Groups or Roles through the REST API?

    Posted Mon September 20, 2021 09:02 AM
    I am Very Happy to Connecting This.

    ------------------------------
    PANKAJ PAREEK School Facilitator
    School Facilitator
    American India Foundation IBM
    Pushkar District Ajmer ( Rajasthan)
    09828422722
    ------------------------------



  • 5.  RE: Cognos Analytics 11.2 - How to get a user's Groups or Roles through the REST API?

    Posted 6 days ago

    Curious if there is now an easier way to get all the Groups and Roles of a user when the the only members in the Cognos Groups and Roles are Active Directory groups. 



    ------------------------------
    brenda grossnickle
    BI Programmer Analyst
    FIS
    ------------------------------



  • 6.  RE: Cognos Analytics 11.2 - How to get a user's Groups or Roles through the REST API?

    Posted Mon October 18, 2021 11:09 AM
    We could not achieve that by REST but are able to do by building a report based on Content store tables. We used Username as prompt when run report lists all groups and roles of that particular user or users.

    ------------------------------
    Vijay V
    ------------------------------