Creation of new attribute from script
Terry Soucy
terry.soucy at unb.ca
Fri Jan 6 13:24:19 GMT 2012
This worked perfectly. Many thanks!
Terry
--
Terry Soucy, Systems Analyst Information Technology Services
University of New Brunswick, Fredericton Campus http://www.unbf.ca/its
Voice: 506.447.3018 Fax: 506.453.3590 E-mail: terry.soucy at unb.ca
** ITS is a scent-reduced workplace - www.unbf.ca/its/policies **
On 2012-01-05, at 6:05 PM, Cantor, Scott wrote:
> On 1/5/12 4:15 PM, "Brent Putman" <putmanb at georgetown.edu> wrote:
>>
>> What he needs to do is conditional logic based on whether uid or
>> unbCaAlumniUid exists or not, as a script variable. I suppose that's
>> script language-dependent (i.e. testing for whether a variable is
>> "defined"). I assume he's using ECMAScript. If testing it for null
>> doesn't work, I'm personally not sure what the proper way is. Not that
>> familiar with the nuances of ECMAScript, but I bet someone else knows.
>
> Ah. I believe it's:
>
> if (typeof variable name != "undefined")
>
> -- Scott
>
> --
> To unsubscribe from this list send an email to users-unsubscribe at shibboleth.net
>
More information about the users
mailing list