<html><body><div style="font-family: arial, helvetica, sans-serif; font-size: 10pt; color: #000000"><div>Hello.</div><div><br data-mce-bogus="1"></div><div>Thanks for reply.</div><div><br data-mce-bogus="1"></div><div>Maybe it's possible to extend user schema and map modifyTimestamp to the new property? What type activation/validFrom has, is it xsd:date?<br>btw, how can i find entire xml schema for user object?</div><div><br data-mce-bogus="1"></div><div>Thanks</div><div><br></div><div data-marker="__SIG_PRE__"><p style="margin:0px;font-stretch:normal;font-size:18px;line-height:normal;font-family:'arial'"><b>Vladislavs Fiļipčiks</b></p><p style="margin:0px;font-stretch:normal;font-size:14px;line-height:normal;font-family:'arial'"></p><p style="margin:0px;font-stretch:normal;font-size:14px;line-height:normal;font-family:'arial'">+371 6784 7766</p><p style="margin:0px;font-stretch:normal;font-size:12px;line-height:normal;font-family:'arial';min-height:14px"></p><p style="margin:0px;font-stretch:normal;font-size:14px;line-height:normal;font-family:'arial'"><b>SIA “Corporate Solutions”</b></p><p style="margin:0px;font-stretch:normal;font-size:14px;line-height:normal;font-family:'arial'">Pērnavas 43A-9, Rīga, LV-1009</p><p style="margin:0px;font-stretch:normal;font-size:14px;line-height:normal;font-family:'arial';color:#807f7f"><span style="text-decoration:underline;color:#999999"><a href="http://www.csolutions.lv/" style="color:#999999;text-decoration:underline" target="_blank" rel="nofollow noopener noreferrer">www.csolutions.lv</a></span><br></p><p style="margin:0px;font-stretch:normal;font-size:12px;line-height:normal;font-family:'arial';min-height:14px"><br><img src="https://drive.google.com/uc?export=view&id=1WuHLZnuvRtyBe4lBkMiUhpEYoRjH4eUH" width="140" height="46"></p><div></div><p style="margin:0px;font-stretch:normal;font-size:10px;line-height:normal;font-family:'arial';color:#4c4c4c"><span style="color:#999999">Šis e-pasts un tā pielikumā esošie dokumenti var saturēt ierobežotas pieejamības informāciju, cita starpā fizisko personu datus, kas adresēta tikai tā saņēmējam un izmantojama tikai leģitīmiem mērķiem. Ja esat saņēmis šo e-pastu kļūdas dēļ, vai nav pamatota mērķa ierobežotas pieejamības informācijas, cita starpā fizisko personu datu, apstrādei, Jums nav tiesību izmantot vai pārsūtīt šajā e-pastā un tam pievienotajos dokumentos ietverto informāciju. Šādā gadījumā nekavējoties neatgriezeniski izdzēsiet šo e-pastu.</span></p></div><br><hr id="zwchr" data-marker="__DIVIDER__"><div data-marker="__HEADERS__"><b>From: </b>"Pavol Mederly" <mederly@evolveum.com><br><b>To: </b>"midpoint" <midpoint@lists.evolveum.com><br><b>Sent: </b>Thursday, 28 May, 2020 17:38:40<br><b>Subject: </b>Re: [midPoint] User password expiration notifications<br></div><br><div data-marker="__QUOTED_TEXT__"><p>Hello Vladislavs,</p>
    <p>this is not yet supported. A related case is to be implemented in
      4.2 (for createTimestamp).</p>
    <p><a href="https://jira.evolveum.com/browse/MID-4575" target="_blank" rel="nofollow noopener noreferrer">https://jira.evolveum.com/browse/MID-4575</a></p>
    <p>I am not sure if the implementation will deal with
      modifyTimestamp as well.</p>
    <p>Best regards,<br>
    </p>
    <pre class="moz-signature">Pavol Mederly
Software developer
evolveum.com
</pre>
    <div>On 28/05/2020 16:06, Vladislavs
      Filipciks wrote:<br>
    </div>
    <blockquote>
      </blockquote>
      <div style="font-family:'arial' , 'helvetica' , sans-serif;font-size:10pt;color:#000000">
        <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>
        </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>
            </span></div>
          <div><span style="font-size:13.3333px">query is:</span></div>
          <div><span style="font-size:13.3333px"><br>
            </span></div>
          <div>
            <div><span style="font-size:13.3333px"><query></span></div>
            <div><span style="font-size:13.3333px">   
                <filter></span></div>
            <div><span style="font-size:13.3333px">     
                 <less></span></div>
            <div><span style="font-size:13.3333px">         
<path>credentials/password/metadata/modifyTimestamp</path></span></div>
            <div><span style="font-size:13.3333px">         
                <expression></span></div>
            <div><span style="font-size:13.3333px">         
                   <script></span></div>
            <div><span style="font-size:13.3333px">         
                      <code></span></div>
            <div><span style="font-size:13.3333px">         
                         import javax.xml.datatype.DatatypeFactory;</span></div>
            <div><span style="font-size:13.3333px">calendar =
                basic.currentDateTime().toGregorianCalendar();</span></div>
            <div><span style="font-size:13.3333px">calendar.add(Calendar.DAY_OF_MONTH,
                +15);</span></div>
            <div><span style="font-size:13.3333px">xmldate =
DatatypeFactory.newInstance().newXMLGregorianCalendar(calendar);</span></div>
            <div><span style="font-size:13.3333px">return
                xmldate;</span></div>
            <div><span style="font-size:13.3333px">         
                      </code></span></div>
            <div><span style="font-size:13.3333px">         
                   </script></span></div>
            <div><span style="font-size:13.3333px">         
                </expression></span></div>
            <div><span style="font-size:13.3333px">     
                 </less></span></div>
            <div><span style="font-size:13.3333px">   
                </filter></span></div>
            <div><span style="font-size:13.3333px"></query></span></div>
          </div>
        </div>
        <div><span style="font-size:13.3333px"><br>
          </span></div>
        <hr id="zwchr">
        <div><b>From: </b>"Pálos Gustáv"
          <a href="mailto:gustav.palos@gmail.com" target="_blank" rel="nofollow noopener noreferrer"><gustav.palos@gmail.com></a><br>
          <b>To: </b>"midpoint" <a href="mailto:midpoint@lists.evolveum.com" target="_blank" rel="nofollow noopener noreferrer"><midpoint@lists.evolveum.com></a><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>
          <div dir="ltr">Hi Vladislavs, <br>
            <div>please see:</div>
            <div><a href="https://evolveum.com/how-to-notify-future-account-expiration/" rel="nofollow noopener noreferrer nofollow noopener noreferrer" target="_blank">https://evolveum.com/how-to-notify-future-account-expiration/</a> </div>
            <br>
            <div>Best regards,</div>
            <br>
            <div>Gustav <br>
            </div>
          </div>
          <br>
          <div>
            <div dir="ltr">po 25. 5. 2020 o 10:55 Vladislavs Filipciks
              <<a href="mailto:vladislavs.filipciks@csolutions.lv" rel="nofollow noopener noreferrer nofollow noopener noreferrer" target="_blank">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>
              </div>
              _______________________________________________<br>
              midPoint mailing list<br>
              <a href="mailto:midPoint@lists.evolveum.com" rel="nofollow noopener noreferrer nofollow noopener noreferrer" target="_blank">midPoint@lists.evolveum.com</a><br>
              <a href="https://lists.evolveum.com/mailman/listinfo/midpoint" rel="noreferrer nofollow noopener 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>
          <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" target="_blank" rel="nofollow noopener noreferrer">https://lists.evolveum.com/mailman/listinfo/midpoint</a><br>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre">_______________________________________________
midPoint mailing list
<a href="mailto:midPoint@lists.evolveum.com" target="_blank" rel="nofollow noopener noreferrer">midPoint@lists.evolveum.com</a>
<a href="https://lists.evolveum.com/mailman/listinfo/midpoint" target="_blank" rel="nofollow noopener noreferrer">https://lists.evolveum.com/mailman/listinfo/midpoint</a>
</pre>
    
  

<br>_______________________________________________<br>midPoint mailing list<br>midPoint@lists.evolveum.com<br>https://lists.evolveum.com/mailman/listinfo/midpoint<br></div></div></body></html>