<div dir="ltr">Hi Vladislavs,<div><br></div><div>all schema files seem to be part of the source code, the UserType is right here</div><div><br></div><div><a href="https://github.com/Evolveum/midpoint/blob/master/infra/schema/src/main/resources/xml/ns/public/common/common-core-3.xsd">https://github.com/Evolveum/midpoint/blob/master/infra/schema/src/main/resources/xml/ns/public/common/common-core-3.xsd</a><br></div><div><br></div><div>and the rest is somewhere nearby in <a href="http://midpoint/infra/schema/src/main/resources/xml/ns/">http://midpoint/infra/schema/src/main/resources/xml/ns/</a></div><div><br></div><div>I check these all the time for reference.</div><div><br></div><div>arnost</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">čt 28. 5. 2020 v 20:27 odesílatel Vladislavs Filipciks <<a href="mailto:vladislavs.filipciks@csolutions.lv">vladislavs.filipciks@csolutions.lv</a>> napsal:<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><div><br></div><div>Thanks for reply.</div><div><br></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></div><div>Thanks</div><div><br></div><div><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:rgb(128,127,127)"><span style="text-decoration:underline;color:rgb(153,153,153)"><a href="http://www.csolutions.lv/" style="color:rgb(153,153,153);text-decoration:underline" rel="nofollow noopener noreferrer" target="_blank">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:rgb(76,76,76)"><span style="color:rgb(153,153,153)">Š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="gmail-m_-8725816593680107187zwchr"><div><b>From: </b>"Pavol Mederly" <<a href="mailto:mederly@evolveum.com" target="_blank">mederly@evolveum.com</a>><br><b>To: </b>"midpoint" <<a href="mailto:midpoint@lists.evolveum.com" target="_blank">midpoint@lists.evolveum.com</a>><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><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" rel="nofollow noopener noreferrer" target="_blank">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>Pavol Mederly
Software developer
<a href="http://evolveum.com" target="_blank">evolveum.com</a>
</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:rgb(0,0,0)">
        <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="gmail-m_-8725816593680107187zwchr">
        <div><b>From: </b>"Pálos Gustáv"
          <a href="mailto:gustav.palos@gmail.com" rel="nofollow noopener noreferrer" target="_blank"><gustav.palos@gmail.com></a><br>
          <b>To: </b>"midpoint" <a href="mailto:midpoint@lists.evolveum.com" rel="nofollow noopener noreferrer" target="_blank"><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" rel="nofollow noopener noreferrer" target="_blank">midPoint@lists.evolveum.com</a><br>
          <a href="https://lists.evolveum.com/mailman/listinfo/midpoint" rel="nofollow noopener noreferrer" target="_blank">https://lists.evolveum.com/mailman/listinfo/midpoint</a><br>
        </div>
      </div>
      <br>
      <fieldset></fieldset>
      <pre>_______________________________________________
midPoint mailing list
<a href="mailto:midPoint@lists.evolveum.com" rel="nofollow noopener noreferrer" target="_blank">midPoint@lists.evolveum.com</a>
<a href="https://lists.evolveum.com/mailman/listinfo/midpoint" rel="nofollow noopener noreferrer" target="_blank">https://lists.evolveum.com/mailman/listinfo/midpoint</a>
</pre>
    
  

<br>_______________________________________________<br>midPoint mailing list<br><a href="mailto:midPoint@lists.evolveum.com" target="_blank">midPoint@lists.evolveum.com</a><br><a href="https://lists.evolveum.com/mailman/listinfo/midpoint" target="_blank">https://lists.evolveum.com/mailman/listinfo/midpoint</a><br></div></div></div>_______________________________________________<br>
midPoint mailing list<br>
<a href="mailto:midPoint@lists.evolveum.com" target="_blank">midPoint@lists.evolveum.com</a><br>
<a href="https://lists.evolveum.com/mailman/listinfo/midpoint" rel="noreferrer" target="_blank">https://lists.evolveum.com/mailman/listinfo/midpoint</a><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div style="color:rgb(0,0,0);font-family:Arial,sans-serif;font-size:13px"><p><strong>Arnošt Starosta</strong><br><span style="font-size:11px;color:rgb(128,128,128)">solution architect</span></p></div><p style="color:rgb(0,0,0);font-family:Arial,sans-serif;font-size:11px">gsm: [+420] 603 794 932<br>e‑mail: <a href="mailto:arnost.starosta@ami.cz" target="_blank">arnost.starosta@ami.cz</a></p><p style="color:rgb(0,0,0);font-family:Arial,sans-serif;font-size:11px"><strong>AMI Praha a.s.</strong><br>Pláničkova 11, 162 00 Praha 6</p><p style="color:rgb(0,0,0);font-family:Arial,sans-serif;font-size:11px">tel.: [+420] 274 783 239 | web: <a href="https://www.ami.cz" target="_blank">www.ami.cz</a></p><p style="color:rgb(0,0,0);font-family:Verdana,Arial,Helvetica,sans-serif;font-size:10px;margin-top:20px"><img src="http://www.ami.cz/images/podpis/ami_logo.gif" alt="AMI Praha a.s." style="border: 0px;"></p><p style="font-family:Arial,sans-serif;font-size:11px;color:rgb(170,170,170)">Textem tohoto e‑mailu podepisující neslibuje uzavřít ani neuzavírá za společnost AMI Praha a.s.<br>jakoukoliv smlouvu. Každá smlouva, pokud bude uzavřena, musí mít výhradně písemnou formu.<br><span style="font-size:6px"> </span><br>Tento e‑mail je určen výhradně pro potřeby jeho adresáta/ů a může obsahovat důvěrné nebo osobní<br>informace. Nejste‑li zamýšleným příjemcem, je zakázáno jakékoliv zveřejňování, zprostředkování<br>nebo jiné použití těchto informací. Pokud jste obdrželi e‑mail neoprávněně, informujte o tom prosím<br>odesílatele a vymažte neprodleně všechny kopie tohoto e‑mailu včetně všech jeho příloh. Nakládáním<br>s neoprávněně získanými informacemi se vystavujete riziku právního postihu.</p></div></div></div></div>