Setting Login Expiration Time from XSLT

0 Likes
over 15 years ago

Problem



A Forum reader asked this question:



"I'm trying to set Login Expiration Time from XSLT. Should I declare the type as time or as string?"



And here's the reply from Jeff Johnson ...



Solution



This may help - here is how I set password expiration time to 120 days.



<do-set-dest-attr-value name="Password Expiration Time" when="after">
<arg-value type="time">
<token-xpath expression="round(jdate:getTime(jdate:new()) div
1000) 10368000"/>
</arg-value>
</do-set-dest-attr-value>

Labels:

How To-Best Practice
Comment List
Anonymous
Related Discussions
Recommended