<!-- Get the Alias Identity -->
<Item type="User" action="get">
<Relationships>
<Item type="Alias" action="get" select="related_id(name)"/>
</Relationships>
</Item>
<!-- Then get any group Identities that use this Identity -->
<Item type="Identity" action="get">
<Relationships>
<Item type="Member" action="get">
<related_id>YOUR_ALIAS_IDENTITY_ID</related_id>
</Item>
</Relationships>
</Item>
Alternatively, if this is a JavaScript method, you can use aras.getIdentityList();
. This will return a comma-separated list of IDs representing all of the group Identities the currently logged in user belongs to.
Chris