accessing user attribute in view

Vonblohn, Kyle kvonbloh at bloomu.edu
Thu Aug 31 15:13:22 EDT 2017


I need a little help.  We want to modify our expiring-password view to display the number of days until a user's password expires.  I have edited view templates before, that's not an issue, and I have a custom attribute that holds the calculated days remaining.  The trouble I'm having is trying to figure out how to access this attribute within the template.  Based on one of the other emails on this list, it is held in the profileRequestContext -> relyingPartContext -> attributeContext  tree structure.  I'm having trouble trying to figure out how to navigate the tree and pull the attribute value.  I have never attempted this before and can't find any documentation on how to do this (or maybe I'm not looking in the right places).  Any help would be greatly appreciated, even if it's a point in the right direction for documentation.

Thanks,

Kyle

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/users/attachments/20170831/568c9471/attachment-0001.html>


More information about the users mailing list