Setting Login Expiration Time from XSLT
Novell Cool Solutions: Tip
By Jeffrey Johnson
|
Digg This -
Slashdot This
Posted: 26 Jul 2006 |
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>
Novell Cool Solutions (corporate web communities) are produced by WebWise Solutions. www.webwiseone.com

