Skip to main content

GUEST/IDM/CONNECT

Access Request Expired

Description

This email is sent to the identity to notify them that their request has expired. This email is sent 7 days after the request was made if no action is taken by the ACR/ACRM.

Information displayed includes:

  • Name of identity

  • Approved Access Groups

  • Full name of the requester. This is only applicable if the access was requested on behalf of another identity.

Email

The example email below is where the user requested access to the access groups themselves. If the access was requested by another identity on behalf of the recipient, the email will also display the full name of the identity that requested access to the access group.

email_6.png
Template

Note

If a value is detected in @Model.OnBehalfOfRequesterFullName then requested by (requester full name) will be included in the email.

<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;">
            Notification to Requester
        </td>
    </tr>
    <tr>
        <td>
            <p>@Model.Greeting</p>
            @if (string.IsNullOrEmpty(@Model.OnBehalfOfRequesterFullName))
            {
                <p>Your request to the following access groups has expired.</p>
            }else{
                <p>Your request to the following access groups, requested by <b>@Model.OnBehalfOfRequesterFullName</b>, has expired.</p>
            }
            <ul>
                @foreach (var accessGroup in Model.AccessGroups)
                {
                    <li>@accessGroup</li>
                }
            </ul>
            <p>Thank you.</p>
        </td>
    </tr>
    <tr>
        <td align="left" style="background-color: #b2b3b3; padding: 12px;"></td>
    </tr>
</table>
Razor Elements

Warning

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

Element

Description

@Model.Greeting

Displays the first name of the email recipient

@accessGroup

Displays the name of the requested access group(s)

@Model.OnBehalfOfRequesterFullName

Displays the full name of the of the identity (on behalf of the recipient) who requested the approval. This is only applicable if the access was requested on behalf of another identity.

Using Razor Elements in Loops

Razor elements may be defined as part of a @foreach loop to iterate through a collection.

Example:

@foreach (var credentialsForDayLeft in Model.CredentialsByDayLeft)

In the example above:

  • Model.CredentialsByDayLeft is the collection provided by the template model

  • credentialsForDayLeft is a Razor element created for iteration

  • The element represents an individual item from the collection

Note

Razor elements created within a loop are locally scoped.

  • These elements are only available within the loop in which they are defined

  • They are not part of the main Model

  • They cannot be referenced outside of the loop

Additional Information:

  • Razor elements referencing @Model properties are available throughout the template.

  • Razor elements defined within loops are intended for temporary use when iterating through collections.

  • To reference data outside of a loop, use the appropriate @Model element.

Warning

Razor elements defined within a loop (for example, @credentialsForDayLeft) must only be used within that loop. Attempting to reference these elements outside of their scope will result in an error.