Skip to main content

GUEST/IDM/CONNECT

Identity Expiration Notification - Admin

Description

This email is sent to all IDM Administrators to notify them of upcoming identity expirations. 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 until expiration

  • Date of expiration

  • Identity first and last name

  • Identity's employee number

  • Identity's email address

  • Identity's company

Note

The first and last name will be linked to the Identity's record in IDM

Email
email_4.png

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 Administrator
        </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

@agafdl.DaysLeft

Displays the number of days left until expiration as an integer

@agafdl.ExpirationDate

Displays the actual expiration date of the identity's access group

@aga.ActionUrl

This will represent a URL that will point to the Identity's record

@aga.FirstName

Displays the Identity's first name

@aga.LastName

Displays the Identity's last name

@aga.EmployeeNumber

Displays the Identity's employee number

@i.Email

Displays the Identity's email address

@i.Company

Displays the Identity's company

Note

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

Warning

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.