Help with MappedAttributeDefinition

Mohamed Lrhazi lrhazi at
Thu Aug 18 23:25:57 UTC 2022


I am trying to add an attribute that resolves to "1" if the user is a
student, but "0" otherwise... I thought it would be as simple as below....
but this actually returns "1" and "0" if the user is both a student and
also a member or any other affiliation....

How do I implement this logic?

Thanks a lot!

<AttributeDefinition id="isEligible" xsi:type="Mapped">
<InputDataConnector ref="sqliteConnector" attributeNames="
<AttributeEncoder xsi:type="SAML1String" name="isEligible" encodeType="false
" />
<AttributeEncoder xsi:type="SAML2String" name="isEligible" friendlyName="
isEligible" encodeType="false" />
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the users mailing list