---
title: "TargetResourceReportAccessControlRules"
description: "Generates the permissions to apply a report for a profile on a given entity."
sidebar_position: 3
---

Generates the right to apply a report for a profile on a given entity.

:::warning
The existence of a report for this entity must exist to use this scaffolding.
A scaffolding generates a default report for an entity: [Entity reports](../../entitytypes/entitytypes/targetresourcereportmenus.md)
:::



## Examples


```xml
  <TargetResourceReportAccessControlRules EntityType="LDAP_Entry" Profile="Administrator"/>
```


## Properties

|Property|Details|
|---|---|
| EntityType required | **Type:** String **Description:** Identifier of the entity type involved in the scaffolding. |
| Profile required | **Type:** String **Description:** Identifier of the profile involved in the scaffolding. |



## Generated XML

Our example generates the following configuration:

```xml
<AccessControlRule Identifier="Administrator_ReportQuery_Custom_Reports_Resources_Resources_LDAP_Entry" DisplayName_L1="Administrator_ReportQuery_Custom_Reports_Resources_Resources_LDAP_Entry" EntityType="LDAP_Entry" Profile="Administrator">
  <Entry CanExecute="true" Permission="/Custom/Reports/Resources_LDAP_Entry/View" />
</AccessControlRule>

```
