Article

jedijeff's picture
article
Reads:

2416

Score:
0
0
 
Comments:

0

Setting Login Expiration Time from XSLT

(View Disclaimer)

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>

Disclaimer: As with everything else at Cool Solutions, this content is definitely not supported by Novell (so don't even think of calling Support if you try something and it blows up).

It was contributed by a community member and is published "as is." It seems to have worked for at least one person, and might work for you. But please be sure to test, test, test before you do anything drastic with it.




User Comments

© 2013 Novell