Skip to Content
author's profile photo Former Member
Former Member

Need query builder queries

Hello,

I need the below queries to be executed from query Builder

  • Business Objects User and Group Association: Which user belongs to which group
  • User Group and Folder Association: Security of a user group and different folders
  • User Group and Universe Association: Security of user group on Universes

Thanks for your help in advance

Regards,

Laxminarayana

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    Posted on Jan 22, 2013 at 05:18 AM

    Hi Laxmi,

    For

    • Business Objects User and Group Association: Which user belongs to which group

    refer here http://scn.sap.com/thread/3295709

    • User Group and Folder Association: Security of a user group and different folders

    select SI_ID,SI_NAME,SI_ADM_PRINCIPAL_RIGHTS from ci_infoobjects where si_kind='Folder' and SI_ANCESTOR=23

    This list all the folders and its child folders along with their rights on them for each User role

    Regrds,

    Mani

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jan 21, 2013 at 09:21 AM

    Hi Laxminarayana,

    You can use the below query in Query Builder to find out the members of a group-

    1. Use the below query to know the SID for the groups

    select si_id, si_name from ci_systemobjects where si_kind = 'Usergroup'

    2. Use the below query to get the list of users which are the member of the related group

    select si_name from ci_infoobjects,ci_appobjects,ci_systemobjects where(Descendants("si_relation_children_members_property='si_ent_group_members' or si_relation_children_groups_property='si_ent_group_members'", "si_id IN(1)")and not si_parentid in(49))

    For the other two requirements, you can use Security Queries in CMC (CMC > Query Results > Security Query)

    Regards,

    Rahul

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.