[midPoint] Email Notification

Jason Everling jeverling at bshp.edu
Mon Oct 27 15:03:54 CET 2014


Awesome, Yes, the otherMailbox attribute is already populated in Midpoint
on import, both from AD and CSV

JASON

On Mon, Oct 27, 2014 at 3:29 AM, Ivan Noris <Ivan.Noris at evolveum.com> wrote:

> Hi Jason,
>
> Thanks for this, it helps understand the general notifier a little better.
> I am not wanting to get admin emails but I want the system to email the
> students/faculty/staff when their accounts are provisioned.
>
> Can I use a separate attribute besides the standard mail attribute.
> Currently in Midpoint, all the users will be imported from our student
> system and their official email address will be the provisioned mailbox
> here but I am also mapping a secondary attribute labeled otherMailbox which
> will contain their personal email address. This is the email that the
> notification needs to go to since they would not have access to their
> official school mailbox.
>
>
> Very simple to configure in midPoint, if you have that attribute already
> populated.
> This is my example, just tested (and working):
>
>       <handler>
>          <accountPasswordNotifier>
>             <name>New accounts in midPoint managed systems</name>
>             <operation>add</operation>
>             <status>success</status>
>             <recipientExpression>
>                <script>
>                   <code>basic.getExtensionPropertyValue(requestee, *'http://evolveum.com/my
> <http://evolveum.com/my>*', '*otherMailbox*')</code>
>                </script>
>             </recipientExpression>
>             <subjectExpression>
>                <script>
>                   <code>"[IDM] New account created by IDM for user: " +
> requestee?.getName()?.getOrig()</code>
>                </script>
>             </subjectExpression>
>             <transport>mail</transport>
>          </accountPasswordNotifier>
>       </handler>
>
> The notification is configured for sending passwords for new accounts,
> which have been successfully created (notice the operation and status
> filters).
>
> Just check/replace the *bold* strings (your schema extension namespace
> and attribute name).
>
> For standard attributes such as EmailAddress, this would have been even
> simpler:
>
> <code>requestee.getEmailAddress()</code>
>
> Regards,
> Ivan
> --
>   Ing. Ivan Noris
>   Senior Identity Management Engineer
>   evolveum.com
>   ___________________________________________
>            "Idem per idem - semper idem Vix."
>
> _______________________________________________
> midPoint mailing list
> midPoint at lists.evolveum.com
> http://lists.evolveum.com/mailman/listinfo/midpoint
>
>

-- 


CONFIDENTIALITY NOTICE:
This e-mail together with any attachments is proprietary and confidential; 
intended for only the recipient(s) named above and may contain information 
that is privileged. You should not retain, copy or use this e-mail or any 
attachments for any purpose, or disclose all or any part of the contents to 
any person. Any views or opinions expressed in this e-mail are those of the 
author and do not represent those of the Baptist School of Health 
Professions. If you have received this e-mail in error, or are not the 
named recipient(s), you are hereby notified that any review, dissemination, 
distribution or copying of this communication is prohibited by the sender 
and to do so might constitute a violation of the Electronic Communications 
Privacy Act, 18 U.S.C. section 2510-2521. Please immediately notify the 
sender and delete this e-mail and any attachments from your computer. 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20141027/b84890f6/attachment.htm>


More information about the midPoint mailing list