<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Hello Roman,<br>
      <br>
      sorry for the late answer. I know little of the reporting module,
      and only today I had some time to check deeper.<br>
      <br>
      Unfortunately, it seems that the "greater than" and "less than"
      filters are currently not supported by midPoint.<br>
      You could perhaps write the selection expression as "code" instead
      of "filter" - like it is done in audit report.<br>
      <br>
      But that's terra incognita for me. If there would be any problems,
      I hope someone else will be able to help you.<br>
      <br>
      Best regards,<br>
      Pavol<br>
      <br>
    </div>
    <blockquote cite="mid:55963782.1020909@ami.cz" type="cite">
      <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
      Hi Pavol,<br>
      thanks for your advice!<br>
      <br>
      My goal is to generate report with filter: "All midPoint users
      created in last week".<br>
      I tried a lot of filters that I thought of, but no success.<br>
      I probably need createTimestamp value as path in filter (in
      reports definition).<br>
      <br>
      Can I use "greater" or "less" keyword in filters, too?<br>
      <br>
      Thanks!<br>
      Regards<br>
      Roman<br>
      <div class="moz-signature">
        <table style="border-collapse:collapse;">
          <tbody>
            <tr>
              <td colspan="2" style="font-family:Arial, sans-serif;
                font-size:11px; color:#000000; vertical-align:bottom;">
                <p><span style="font-size:14px; font-weight:bold;">Roman
                    Pudil</span><br>
                  solution architect<br>
                  <br>
                  gsm: [+420] 775 663 666<br>
                  e-mail: <a moz-do-not-send="true"
                    href="mailto:roman.pudil@ami.cz">roman.pudil@ami.cz</a>
                </p>
              </td>
              <td style="border-right:1px solid #cccccc;">   </td>
              <td>   </td>
              <td style="font-family:Arial, sans-serif; font-size:11px;
                color:#000000; vertical-align:bottom;">
                <p> AMI Praha a.s.<br>
                  Pláničkova 11<br>
                  162 00 Praha 6<br>
                  tel./fax: [+420] 274 783 239<br>
                  web: <a moz-do-not-send="true"
                    href="http://www.ami.cz">www.ami.cz</a> </p>
              </td>
              <td style="border-right:1px solid #cccccc;">   </td>
              <td>   </td>
              <td style="font-family:Arial, sans-serif; font-size:11px;
                color:#000000;">
                <p> <img src="cid:part3.05090803.05000106@evolveum.com"
                    alt="AMI Praha a.s." title="AMI Praha a.s."> </p>
              </td>
            </tr>
            <tr>
              <td colspan="8"><br>
                <a moz-do-not-send="true"
href="http://www.ami.cz/reseni-a-sluzby/bezpecnost-dat/identity-management"><img
                    src="cid:part4.06010101.01040200@evolveum.com"
                    alt=""></a></td>
            </tr>
            <tr>
              <td colspan="8" style="font-family:Arial, sans-serif;
                font-size:11px; color:#808080;"> <br>
                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.</td>
            </tr>
          </tbody>
        </table>
      </div>
      <div class="moz-cite-prefix">Dne 1.7.2015 v 14:51 Pavol Mederly
        napsal(a):<br>
      </div>
      <blockquote cite="mid:5593E24F.6060207@gmail.com" type="cite">
        <meta content="text/html; charset=utf-8"
          http-equiv="Content-Type">
        <div class="moz-cite-prefix">Hello Roman,<br>
          <br>
          I would use the following:<br>
          <br>
          user.asObjectable().getMetadata().getCreateTimestamp()<br>
          <br>
          or<br>
          <br>
          user.getMetadata().getCreateTimestamp()<br>
          <br>
          Depending on whether user is a PrismObject<UserType> or
          UserType itself.<br>
          <br>
          Best regards,<br>
          Pavol<br>
          <br>
          On 1. 7. 2015 12:52, Roman Pudil - AMI Praha a.s. wrote:<br>
        </div>
        <blockquote cite="mid:5593C66A.4080608@ami.cz" type="cite">
          <meta http-equiv="content-type" content="text/html;
            charset=utf-8">
          Hi all,<br>
          how to get metadata from user object in MidPoint?<br>
          For ex. "createTimestamp"?<br>
          <br>
          Thanks<br>
          Roman<br>
          <div class="moz-signature">-- <br>
            <title></title>
            <meta http-equiv="Content-Type" content="text/html;
              charset=utf-8">
            <p> </p>
            <table style="border-collapse:collapse;">
              <tbody>
                <tr>
                  <td colspan="2" style="font-family:Arial, sans-serif;
                    font-size:11px; color:#000000;
                    vertical-align:bottom;">
                    <p> <span style="font-size:14px; font-weight:bold;">Roman



                        Pudil</span><br>
                      solution architect<br>
                      <br>
                      gsm: [+420] 775 663 666<br>
                      e-mail: <a moz-do-not-send="true"
                        href="mailto:roman.pudil@ami.cz">roman.pudil@ami.cz</a>
                    </p>
                  </td>
                  <td style="border-right:1px solid #cccccc;">   </td>
                  <td>   </td>
                  <td style="font-family:Arial, sans-serif;
                    font-size:11px; color:#000000;
                    vertical-align:bottom;">
                    <p> AMI Praha a.s.<br>
                      Pláničkova 11<br>
                      162 00 Praha 6<br>
                      tel./fax: [+420] 274 783 239<br>
                      web: <a moz-do-not-send="true"
                        href="http://www.ami.cz">www.ami.cz</a> </p>
                  </td>
                  <td style="border-right:1px solid #cccccc;">   </td>
                  <td>   </td>
                  <td style="font-family:Arial, sans-serif;
                    font-size:11px; color:#000000;">
                    <p> <img
                        src="cid:part8.03060001.06040905@evolveum.com"
                        alt="AMI Praha a.s." title="AMI Praha a.s."> </p>
                  </td>
                </tr>
                <tr>
                  <td colspan="8"><br>
                    <a moz-do-not-send="true"
href="http://www.ami.cz/reseni-a-sluzby/bezpecnost-dat/identity-management"><img
                        src="cid:part9.03000001.03000009@evolveum.com"
                        alt=""></a></td>
                </tr>
                <tr>
                  <td colspan="8" style="font-family:Arial, sans-serif;
                    font-size:11px; color:#808080;"> <br>
                    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.</td>
                </tr>
              </tbody>
            </table>
          </div>
          <br>
          <fieldset class="mimeAttachmentHeader"></fieldset>
          <br>
          <pre wrap="">_______________________________________________
midPoint mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:midPoint@lists.evolveum.com">midPoint@lists.evolveum.com</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.evolveum.com/mailman/listinfo/midpoint">http://lists.evolveum.com/mailman/listinfo/midpoint</a>
</pre>
        </blockquote>
        <br>
        <br>
        <fieldset class="mimeAttachmentHeader"></fieldset>
        <br>
        <pre wrap="">_______________________________________________
midPoint mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:midPoint@lists.evolveum.com">midPoint@lists.evolveum.com</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.evolveum.com/mailman/listinfo/midpoint">http://lists.evolveum.com/mailman/listinfo/midpoint</a>
</pre>
      </blockquote>
      <br>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
midPoint mailing list
<a class="moz-txt-link-abbreviated" href="mailto:midPoint@lists.evolveum.com">midPoint@lists.evolveum.com</a>
<a class="moz-txt-link-freetext" href="http://lists.evolveum.com/mailman/listinfo/midpoint">http://lists.evolveum.com/mailman/listinfo/midpoint</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>