Skip to content

Access Request for Other Email Template

The Access Request for Other emails is sent to a user to confirm that someone has successfully submitted an access request on their behalf.

Name: Access Request for Other

Subject: ${requesterName} Has Requested Access on Your Behalf

Body:

Dear ${user.name},<br/>

    <p>${requesterName} has requested the following access on your behalf:</p>

    #foreach ( $type in ${requestedObjectDetailsByType.keySet()} )

        $type:
        <ul>
        #foreach ( $detail in ${requestedObjectDetailsByType.get($type)} )
            <li> ${detail.name} #if($detail.removeDate) (Access Sunset Date: ${detail.removeDate}) #end</li>
            #if(${dimensionDetails} && ${dimensionDetails.get(${detail.name})})
                         <ul>
                         #foreach ($attribute in ${dimensionDetails.get(${detail.name}).keySet()})
                             <li>${attribute} : ${dimensionDetails.get(${detail.name}).get(${attribute})}</li>
                         #end
                         </ul>
            #end
        #end
        </ul>
        <br/>
    #end

    <p>
        Thanks,<br/>
        The ${PRODUCT_NAME} Team
    </p>

Adding the Requester's Comments

Comments are part of the requestedObjectDetailsByType details and you can add them to a customized email message by iterating through the requested objects as follows:

#foreach($type in ${requestedObjectDetailsByType.keySet()})   
   #foreach($detail in ${requestedObjectDetailsByType.get($type)})     
      ${detail.requesterComment}   
   #end 
#end

Note the default template already includes these #foreach loops, so you may only need to add the ${detail.requesterComment} reference.

Attributes

This email template uses version 1 global variables and the following template-specific attributes:

Name Type Description
requestedObjectDetailsByType Map A list of the details about each item requested, in order of the object type.
requestedObjectNamesByType Map The names of each item requested, in order of the object type.
requesterName String The display name of the identity who submitted the request.
dimensionDetails Map A map of dimension details about the requested object. It contains the item name as key and a map of (dimension attribute, dimension attribute values) as a value.

Documentation Feedback

Feedback is provided as an informational resource only and does not form part of SailPoint’s official product documentation. SailPoint does not warrant or make any guarantees about the feedback (including without limitation as to its accuracy, relevance, or reliability). All feedback is subject to the terms set forth at https://developer.sailpoint.com/discuss/tos.