# Shared Records Report Command

### Shared Records Report

This command/function helps to display a Report shared records for the logged-in user. Generates a report of all shared records showing the share type (Direct Share, Share Folder, Share Team Folder), recipient, permissions, and folder path. By default only owned shared records are included. Use `-AllRecords` to include non-owned records,

<details>

<summary>DotNet CLI</summary>

**Coming Soon**

</details>

<details>

<summary>DotNet SDK</summary>

Comming Soon

</details>

<details>

<summary>PowerCommander</summary>

**Command:** `Get-KeeperSharedRecordsReport`

**Alias:** `ksrr`

Generates a report of all shared records showing the share type, recipient, permissions, and folder path

**Parameter:**

`-ShowTeamUsers` - Expand team shares to show individual team members. Requires enterprise admin

`-AllRecords` - Include all shared records in the vault, not just records owned by the current user

`-Folder` - Folder path(s) or UID(s) to scope the report to records within those folders.

`-Format` - Output format: `table`, `json`, or `csv`

`-Output` - Path to write the report to a file

**Examples:**

{% code overflow="wrap" %}

```powershell
PS > Get-KeeperSharedRecordsReport

Shared Records Report

Record UID             Title Share Type   Shared To                     Permissions      Folder Path
----------             ----- ----------   ---------                     -----------      -----------
zsaOU8Rusa6C05EVEC-wCQ a1    Direct Share user+qa@example.com         Can Share & Edit Shared Accounts
```

{% endcode %}

</details>

<details>

<summary>Python CLI</summary>

**Command:** `shared-record-report`

**Alias:** `srr`

**Flag:**

* `--format` format of output {table,csv,json}.
* `--output` Output path to resulting output file (ignored for "table" format)
* `-tu, --show-team-users` show members of team for records shared via share team folders.
* `--all-records` report on all records in the vault. only owned records are included if this argument is omitted.

**Example:**

```
My Vault> shared-records-report --all-records --format json --output json
```

</details>

<details>

<summary>Python SDK</summary>

**Function:**

```python
def generate_shared_folders_report(self) -> List[SharedFolderReportEntry]:
        """Generate a report of shared folders and their permissions.
        
        Returns:
            List of SharedFolderReportEntry objects containing folder share information
        """
        entries: List[SharedFolderReportEntry] = []
```

</details>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.keeper.io/keeperpam/commander-sdk/keeper-commander-sdks/sdk-command-reference/reporting-commands/shared-records-report-command.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
