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>

Parents
  • <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

  • 0 オフライン in reply to Ananta Jena

    Hello  ,

    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

  • 0 オフライン in reply to Suhas

    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>

  • 0 オフライン in reply to Suhas

    Hi  ,

    I would like to thank you first. I have completed that task by server side and calling it in client side method.
    I wanted the AML like child->parent->grandparent etc if i know or put the child id then it would have iterated towards parent. If we want to iterate from parent to child then it is like:
    <AML>
    <Item type="Identity" action="GetItemRepeatConfig"
    select="related_id,name"
    id="BC72C6DE3D0F46D195711994B3993CA7">
    <Relationships>
    <Item type="Member" action="get" repeatTimes="0"
    repeatProp="related_id"
    select="related_id"></Item>
    </Relationships>
    </Item>
    </AML> 

    But, my requirement was reverse. Okay Thanks a lot for your help Blush  ..

    Regards,
    Ananta 
     

  • 0 オフライン in reply to Ananta Jena

    Hello  ,

    <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>

    this query gives you all the parents, in this case Innovator Admin is present in as member of below group identities (as a child) then it will gives you all these identities (parent). 

    • All Employees

    • Authentication Administrators

    • Data Administrators

Reply
  • 0 オフライン in reply to Ananta Jena

    Hello  ,

    <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>

    this query gives you all the parents, in this case Innovator Admin is present in as member of below group identities (as a child) then it will gives you all these identities (parent). 

    • All Employees

    • Authentication Administrators

    • Data Administrators

Children
No Data