Access Group Expiration - ACRM

Description

This email is sent to all ACR Administrators to notify them of any upcoming access group expirations. 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
  • Identity first and last name
  • Identities employee number
  • Identities Phone Number
  • identities Manager First Name and Last 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 ACR Administrator
        </td>
    </tr>
    <tr>
        <td>
            <p>Sir,</p>
            <p>Please be advised that the following identity's access assignments are set to expire.</p>
      <table style="font-size: 11px;font-family: Arial, lucida console, sans-serif;">
      @foreach (var agafdl in Model.AccessGroupAssignmentsByDayLeft)
      {
        <tr>
          <td colspan="6"><b>Next @agafdl.DaysLeft Day(s)</b> - @agafdl.ExpirationDate.ToString("yyyy-MM-dd")</td>
        </tr>
        <tr>
          <td>
            @foreach (var aga in agafdl.AccessGroupAssignments)
            {
              <tr>
                <td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#9675;</td>
                <td><b>@aga.FirstName @aga.LastName</b></td>
                <td>@aga.EmployeeNumber</td>
                <td><a href="@aga.ActionUrl">@aga.AccessGroupName</a></td>
                <td>@aga.Number</td>
                <td>Managed by @aga.ManagedByFirstName @aga.ManagedByLastName</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 unit expiration as an integer
@agafdl.ExpirationDate Displays the actual expiration date of the identities
@aga.ActionUrl This will represent a URL that will point to the identities record
@aga.FirstName Displays the identities first name
@aga.LastName Displays the identities last name
@aga.EmployeeNumber Displays the identities employee number
@aga.AccessGroupName Displays the access group name that is expiring
@aga.Number Displays the identities phone number
@aga.ManagedByFirstName Displays the first name of the identities manager
@aga.ManagedByFirstName Displays the last name of the identities manager

@aga.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.