Removing a value from an attribute in a script

Wessel, Keith kwessel at
Thu May 25 15:38:29 EDT 2017

Thanks, gentlemen. I've reworked my logic, and I'm getting what I need now.


-----Original Message-----
From: users [mailto:users-bounces at] On Behalf Of Rod Widdowson
Sent: Thursday, May 25, 2017 6:49 AM
To: 'Shib Users' <users at>
Subject: RE: Removing a value from an attribute in a script

> So, for academic purposes, how would I remove them in this case? 

You cannot remove values from an IdPAttribute, for all the good reasons that Scott mentioned it is super risky and in fact the list
of attribute values is immutable.  OTOH you can set the values (which I think is a bad idea for the same reasons).  You need to
allocate another list, set the values into the list and then do a .setValues on the IdPAttribute.

But if you are in the same script why not just keep the list around and then just set it into the Attribute at the end?


To unsubscribe from this list send an email to users-unsubscribe at

More information about the users mailing list