<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>Hi,</p>
    <p>after you generate the password and want to configure e-mail
      notifications, you may find the following doc interesting:
      <a class="moz-txt-link-freetext" href="https://docs.evolveum.com/midpoint/guides/notifications-howto/">https://docs.evolveum.com/midpoint/guides/notifications-howto/</a></p>
    <p>Best regards,</p>
    <p>Ivan<br>
    </p>
    <div class="moz-cite-prefix">On 14. 3. 2025 11:32,
      mikhail.nikolaenko via midPoint wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:29Xwty72awJHXKpMV3O812ueOe5Icx63ipT-3aYe7i-w1gleIfqzIwJXVifBzwfcIF-18P-YGpFc0RWS08gRlcTsYMFrOkTnVouevTuzQjM=@proton.me">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div style="font-family: Arial, sans-serif; font-size: 14px;">Sorry,
        that was easy:</div>
      <div style="font-family: Arial, sans-serif; font-size: 14px;"><br>
      </div>
      <div style="font-family: Arial, sans-serif; font-size: 14px;">Just
        in objectTemplate define the mapping like this:</div>
      <div style="font-family: Arial, sans-serif; font-size: 14px;"><span><br>
        </span></div>
      <div style="font-family: Arial, sans-serif; font-size: 14px;"><span> 
            <mapping id="25"></span>
        <div><span>        <name>credentials</name></span></div>
        <div><span>        <expression></span></div>
        <div><span>            <generate></span></div>
        <div><span>                <valuePolicyRef
            oid="00000000-0000-0000-0000-000000000003"
            type="c:ValuePolicyType"
            xsi:type="c:ObjectReferenceType"/></span></div>
        <div><span>            </generate></span></div>
        <div><span>        </expression></span></div>
        <div><span>        <target></span></div>
        <div><span>           
            <path>c:credentials/password/value</path></span></div>
        <div><span>        </target></span></div>
        <span>    </mapping></span><br>
      </div>
      <div style="font-family: Arial, sans-serif; font-size: 14px;"><br>
      </div>
      <div class="protonmail_signature_block"
        style="font-family: Arial, sans-serif; font-size: 14px;">
        <div
class="protonmail_signature_block-user protonmail_signature_block-empty">
        </div>
        <div class="protonmail_signature_block-proton">WBR,</div>
        <div class="protonmail_signature_block-proton">Mike</div>
      </div>
      <div class="protonmail_quote"> On Friday, 14 March 2025 at 11:26
        AM, mikhail.nikolaenko via midPoint
        <a class="moz-txt-link-rfc2396E" href="mailto:midpoint@lists.evolveum.com"><midpoint@lists.evolveum.com></a> wrote:<br>
        <blockquote class="protonmail_quote" type="cite">
          <div style="font-family: Arial, sans-serif; font-size: 14px;"><br>
          </div>
          <div><span dir="auto">Hello! <br>
            </span></div>
          <div><span dir="auto">Still learning midPoint to present a
              POC. Now I want to generate initial password for new
              employee based on pwd policy and also send it via email
              (means I need to have it stored on person object and be
              able to read it). I have checked docs and examples, but
              still could not understand how I can do this. May be
              someone can point me to the doc or give me a hint?</span></div>
          <div
style="font-family: Arial, sans-serif; font-size: 14px; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);"><br>
          </div>
          <div
style="font-family: Arial, sans-serif; font-size: 14px; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">With
            best regards,</div>
          <div
style="font-family: Arial, sans-serif; font-size: 14px; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">Mike</div>
          <div style="font-family: Arial, sans-serif; font-size: 14px;"
            class="protonmail_signature_block">
            <div class="protonmail_signature_block-proton"> </div>
          </div>
        </blockquote>
        <br>
      </div>
      <br>
      <fieldset class="moz-mime-attachment-header"></fieldset>
      <pre wrap="" class="moz-quote-pre">_______________________________________________
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="https://lists.evolveum.com/mailman/listinfo/midpoint">https://lists.evolveum.com/mailman/listinfo/midpoint</a>
</pre>
    </blockquote>
    <pre class="moz-signature" cols="72">-- 
Ivan Noris
Expert Identity Engineer
evolveum.com
</pre>
  </body>
</html>