Identity Expiration Notification - Tenant Manager

Description

This email is sent to all IDM Tenant Managers to notify them of upcoming identity expirations that are part of companies they manage. This email will list all identities expiring in the date ranges configured via the IDM / Configuration / Notification / Identity Expiration page.

Identity information displayed includes:

  • Number of days till expiration
  • Date of expiration
  • Identity first and last name
  • Identities employee number
  • Identities email address
  • identities company

The first and last name will be linked to the identities record in IDM

Email

Template

<table width="700" cellpadding="16" style="font-size: 11px;font-family: Arial, lucida console, sans-serif;">
    <tr>
        <td align="left" style="background-color: black; color: white; font-size:18px; font-weight: bold;">
      Upcoming identity expirations for Company Manager
        </td>
    </tr>
    <tr>
        <td>
            <p>Sir,</p>
            <p>
      Please be advised that the following identities are set to expire.
      </p>
      <table style="font-size: 11px;font-family: Arial, lucida console, sans-serif;">
      @foreach (var exp in Model.IdentityExpirationsByDayLeft)
      {
        <tr>
          <td colspan="6"><b>Next @exp.DaysLeft Day(s)</b> - @exp.ExpirationDate.Date.ToShortDateString()</td>
        </tr>
        <tr>
          <td>
            @foreach (var i in exp.IdentityExpirations)
            {
              <tr>
                <td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#9675;</td>
                <td><a href="@i.ActionUrl"><b>@i.FirstName @i.LastName</b></a></td>
                <td>@i.EmployeeNumber</td>
                <td>@i.Email</td>
                <td>@i.Company</td>
              </tr>
            }
          </td>
        </tr>
        <tr>
        </tr>
      }
      </table>
            <p>Thank you.</p>
        </td>
    </tr>
    <tr>
        <td align="left" style="background-color: #b2b3b3; padding: 12px;"></td>
    </tr>
</table>

Razor Elements

Element Description
@exp.DaysLeft Displays the number of days left unit expiration as an integer
@exp.ExpirationDate Displays the actual expiration date of the identities
@i.ActionUrl This will represent a URL that will point to the identities record
@i.FirstName Displays the identities first name
@i.LastName Displays the identities last name
@i.EmployeeNumber Displays the identities employee number
@i.Email Displays the identities email address
@i.Company Displays the identities company

@i.ActionUrl is a dynamic value and will have elements that change based on the email templates.

It is strongly recommended that these elements be used as is with the only edits being to remove them if the information generated is not desired.