Article

Setting Login Expiration Time from XSLT

article
Reads:

873

Score:
0
0
 
Comments:

0

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>




User Comments

© 2009 Novell, Inc. All Rights Reserved.