Forum Discussion
<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
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
- Suhas1 year agoCreator 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>- ananta_jena01_infosys_com1 year agoIdeator II
Hi Suhas ,
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 [emoticon:33306c418930400bac28808410f8ac8b] ..
Regards,
Ananta
- Suhas1 year agoCreator III
Hello ananta_jena01_infosys_com ,
<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
-