<html><body><div style="font-family: arial, helvetica, sans-serif; font-size: 10pt; color: #000000"><div></div><div data-marker="__SIG_PRE__"></div><div>I've tried Your example with activation/validTo propery, and it works fine.<br></div><div>When I use credentials/password/metadata/modifyTimestamp in Query playground, I got an error:</div><div><br data-mce-bogus="1"></div><div><div><span style="font-size: 13.3333px;">Couldn't find a proper data item to query, given base entity Ent:RUser (jaxb=UserType) and this filter: LESS:</span></div><div><span style="font-size: 13.3333px;">  PATH: credentials/password/metadata/modifyTimestamp</span></div><div><span style="font-size: 13.3333px;">  DEF: PPD:{.../common/common-3}modifyTimestamp {xsd:}dateTime[0,1],RAM,oper,I</span></div><div><span style="font-size: 13.3333px;">  VALUE:</span></div><div><span style="font-size: 13.3333px;">    2020-06-12T16:55:32.120+03:00</span></div><div><span style="font-size: 13.3333px;"><br data-mce-bogus="1"></span></div><div><span style="font-size: 13.3333px;">query is:</span></div><div><span style="font-size: 13.3333px;"><br data-mce-bogus="1"></span></div><div><div style=""><span style="font-size: 13.3333px;"><query></span></div><div style=""><span style="font-size: 13.3333px;">    <filter></span></div><div style=""><span style="font-size: 13.3333px;">       <less></span></div><div style=""><span style="font-size: 13.3333px;">          <path>credentials/password/metadata/modifyTimestamp</path></span></div><div style=""><span style="font-size: 13.3333px;">          <expression></span></div><div style=""><span style="font-size: 13.3333px;">             <script></span></div><div style=""><span style="font-size: 13.3333px;">                <code></span></div><div style=""><span style="font-size: 13.3333px;">                   import javax.xml.datatype.DatatypeFactory;</span></div><div style=""><span style="font-size: 13.3333px;">calendar = basic.currentDateTime().toGregorianCalendar();</span></div><div style=""><span style="font-size: 13.3333px;">calendar.add(Calendar.DAY_OF_MONTH, +15);</span></div><div style=""><span style="font-size: 13.3333px;">xmldate = DatatypeFactory.newInstance().newXMLGregorianCalendar(calendar);</span></div><div style=""><span style="font-size: 13.3333px;">return xmldate;</span></div><div style=""><span style="font-size: 13.3333px;">                </code></span></div><div style=""><span style="font-size: 13.3333px;">             </script></span></div><div style=""><span style="font-size: 13.3333px;">          </expression></span></div><div style=""><span style="font-size: 13.3333px;">       </less></span></div><div style=""><span style="font-size: 13.3333px;">    </filter></span></div><div style=""><span style="font-size: 13.3333px;"></query></span></div></div></div><div style=""><span style="font-size: 13.3333px;"><br></span></div><hr id="zwchr" data-marker="__DIVIDER__"><div data-marker="__HEADERS__"><b>From: </b>"Pálos Gustáv" <gustav.palos@gmail.com><br><b>To: </b>"midpoint" <midpoint@lists.evolveum.com><br><b>Sent: </b>Monday, 25 May, 2020 12:48:19<br><b>Subject: </b>Re: [midPoint] User password expiration notifications<br></div><div><br></div><div data-marker="__QUOTED_TEXT__"><div dir="ltr">Hi Vladislavs, <br><div>please see:</div><div><a href="https://evolveum.com/how-to-notify-future-account-expiration/" target="_blank" rel="nofollow noopener noreferrer">https://evolveum.com/how-to-notify-future-account-expiration/</a> </div><br><div>Best regards,</div><br><div>Gustav <br></div></div><br><div class="elided-text"><div dir="ltr">po 25. 5. 2020 o 10:55 Vladislavs Filipciks <<a href="mailto:vladislavs.filipciks@csolutions.lv" target="_blank" rel="nofollow noopener noreferrer">vladislavs.filipciks@csolutions.lv</a>> napísal(a):<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb( 204 , 204 , 204 );padding-left:1ex"><div><div style="font-family:'arial' , 'helvetica' , sans-serif;font-size:10pt;color:rgb( 0 , 0 , 0 )"><div>Hello,</div><br><div>does MidPoint have any functionality to notify user about soon expiring password, that it should be changed?</div><div>I found possibility to notify user by e-mail about new password generated for him, but how to handle notification about expiring password? I didn't find any examples or topic in documentation for that.</div><br><div>Thank You in advance.</div><br><div><p style="margin:0px;font-stretch:normal;font-size:18px;line-height:normal;font-family:'arial'"><b></b></p></div></div></div>_______________________________________________<br>
midPoint mailing list<br>
<a href="mailto:midPoint@lists.evolveum.com" target="_blank" rel="nofollow noopener noreferrer">midPoint@lists.evolveum.com</a><br>
<a href="https://lists.evolveum.com/mailman/listinfo/midpoint" rel="noreferrer nofollow noopener noreferrer" target="_blank">https://lists.evolveum.com/mailman/listinfo/midpoint</a><br>
</blockquote></div><br clear="all"><br>-- <br><div dir="ltr">s pozdravom<br><div>Gustáv Pálos</div></div>
<br>_______________________________________________<br>midPoint mailing list<br>midPoint@lists.evolveum.com<br>https://lists.evolveum.com/mailman/listinfo/midpoint<br></div></div></body></html>