Access Group Expiration - Identity

Description

This email is sent to an identity to notify them of any upcoming access group expirations they have coming up. This email is enabled or disabled via the CONNECT -> Configuration -> Notification -> Access Groups page. When enabled this will be sent at the time specific as the Time of Day (UTC) value.

Identity information displayed includes:

  • Number of days till expiration
  • Date of expiration
  • Access Group Name

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 access assignment expirations to Identity
        </td>
    </tr>
    <tr>
        <td>
            <p>@Model.Greeting</p>
            <p>Please be advised that the following identity's access assignments are set to expire.</p>
            <ul>
                @foreach (var agafdl in Model.AccessGroupAssignmentsByDayLeft)
                {
          <li>Next @agafdl.DaysLeft Day(s) - @agafdl.ExpirationDate.ToString("yyyy-MM-dd")</li>
          <ul>
            @foreach (var aga in agafdl.AccessGroupAssignments)
            {
              <li>@aga.AccessGroupName</li>
            }
          </ul>
          <p></p>
                }
            </ul>
            <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 unit expiration as an integer
@agafdl.ExpirationDate Displays the actual expiration date of the identities
@aga.AccessGroupName Displays the access group name that is expiring

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.