Forum Discussion

ananta_jena01_infosys_com's avatar
1 year ago

How can I get source of source identity if I know the child identity but not aware of numbers of parent? AML

How can I get source of source identity if I know the child identity but not aware of numbers of parent? need AML ..
I have tested GetItemRepeatConfig but it is going child level not reverse.. need help.

<AML>
<Item type="Member" action="get" repeatProp="source_id" repeatTimes="2" select="source_id(keyed_name)" >
<related_id>
<Item type="Identity" action="GetItemRepeatConfig" select="name" id="3EF5B0E5FAEF4716BF5F0A864B4C2239">
</Item>
</related_id>
</Item>
</AML>

5 Replies

  • <AML>
    <Item type="Member" action="get" select='source_id(keyed_name),related_id'>
    <related_id>3EF5B0E5FAEF4716BF5F0A864B4C2239</related_id>
    </Item>
    </AML> but not working as expected only working one parent label.. Advance Thanks

    • Suhas's avatar
      Suhas
      Creator III

      Hello ananta_jena01_infosys_com ,

      Do you mean that you want to find out which identity groups the 'Innovator Admin' user belongs to?
      For example, if the user is a member of the following identity groups:

      • All Employees

      • Authentication Administrators

      • Data Administrators

      Then you need the names of all such identity groups.

      Regards,

      Suhas

      • Suhas's avatar
        Suhas
        Creator III

        if yes then it may help you :
        <AML>
        <Item type="Identity" action="get" select="keyed_name">
        <Relationships>
        <Item type="Member" action="get" select="source_id">
        <related_id>
        <Item type="Identity" select="name" id="DBA5D86402BF43D5976854B8B48FCDD1">
        </Item>
        </related_id>
        </Item>
        </Relationships>
        </Item>
        </AML>