AnsweredAssumed Answered

Multivalue attribute wants to send as comma separated

Question asked by KarthickSugumaran4213405 on Feb 19, 2019
Latest reply on Feb 26, 2019 by KarthickSugumaran4213405

Hi,

I have to send the attribute value as comma separate group.

Use case is:

If user is part of two groups those group name has to be send in the attribute value. I tried this expression but getting the same expression in the attribute value.

TRANSLATE((Filter(ENUMERATE(Get('isMemberOf'), STRING(RDN(STRING(%0), TRUE))),'*')),'^,',')

Output should be as below:

<ns2:Attribute Name="GROUPS" NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:unspecified">
<ns2:AttributeValue>group1,group2</ns2:AttributeValue>
</ns2:Attribute>


Note: If user is part of one group alone, it has to send one group only in Attribute value.

Please suggest on this.

Outcomes