<div dir="ltr">I have a problem with the requested values for eduPersonAffiliation with two of the SPs that I work with: one wants the value 'member' in place of the values 'student', 'staff', 'faculty', and 'employee'; and one wants the actual values.  <div><br></div><div>I've read <a href="https://www.internet2.edu/media/medialibrary/2013/09/04/internet2-mace-dir-eduperson-201203.html#eduPersonAffiliation">https://www.internet2.edu/media/medialibrary/2013/09/04/internet2-mace-dir-eduperson-201203.html#eduPersonAffiliation</a> and it looks like ePA is a multi-valued attribute so it should be permissible for the ePA to have the value 'member' and 'student'.  I was thinking that could be done with a scripted attribute.  With that in mind, I have three questions:</div><div><br></div><div>(1) I've looked for some documentation on the scripting engine within the IdP and there does not look like there is much.  Other than that found in <a href="https://wiki.shibboleth.net/confluence/display/IDP30/ScriptedAttributeDefinition">https://wiki.shibboleth.net/confluence/display/IDP30/ScriptedAttributeDefinition</a>, would you be able to point me in the direction of some examples/descriptions of the functions?</div><div><br></div><div>(2) From the examples in the default attribute-resolver.xml file, it looks like the add("") function overwrites the existing values.  Does the addValues("") function append a value to the existing value?</div><div><br></div><div>(3) If ePA is multi-valued, what would the resulting attributes be for eduPersonScopedAffiliation:  (student,<a href="mailto:member@example.edu">member@example.edu</a>) or (<a href="mailto:student@example.edu">student@example.edu</a>,<a href="mailto:member@example.edu">member@example.edu</a>)?</div><div><br></div><div>Thanks for the assistance.</div><div><br></div><div>Mike</div></div>