Skip to main content

GUEST/IDM/CONNECT

Access Request Confirmation

Description

This email is sent to the identity to confirm that their request has been received and sent for approval.

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_5.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;">
            @if (string.IsNullOrEmpty(@Model.OnBehalfOfRequesterFullName))
			{
				<p>Notification to Requester</p>
			}
			else
			{
				<p>Notification to Requestee</p>
			}
        </td>
    </tr>
    <tr>
        <td>
            <p>@Model.Greeting</p>
            @if (string.IsNullOrEmpty(@Model.OnBehalfOfRequesterFullName))
			{
				<p>Your request to get access to the following groups has been sent for approval.</p>
			}
			else
			{
				<p>Your request from <b>@Model.OnBehalfOfRequesterFullName</b> to get access to the following groups has been sent for approval.</p>
			}
            <p><b>Requested for:</b></p>
			<table style="font-size: 11px;font-family: Arial, lucida console, sans-serif; margin-left:20px;">
				<tr><td style="padding:0px;">First Name:</td><td>@Model.FirstName</td></tr>
				<tr><td style="padding:0px;">Last Name:</td><td>@Model.LastName</td></tr>
				<tr><td style="padding:0px;">Company:</td><td>@Model.CompanyName</td></tr>
				<tr><td style="padding:0px;">Building:</td><td>@Model.BuildingName</td></tr>
			</table>
			<p><b>Access requested:</b></p>
			<ul>
                @foreach (var accessGroup in Model.AccessGroups)
                {
                    <li>@accessGroup</li>
                }
            </ul>
            <p>You will automatically get notified once the request is processed.</p>
            <p>Thank you.</p>
        </td>
    </tr>
    <tr>
        <td align="left" style="background-color: #b2b3b3; padding: 12px;"></td>
    </tr>
</table>
Razor Elements

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.

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.