| title | description | ms.reviewer | ms.topic | ms.date |
|---|---|---|---|---|
.show table policy restricted_view_access command |
Learn how to use the `.show table policy restricted_view_access` command to display the details of the table's restricted view access policy. |
yonil |
reference |
08/11/2024 |
[!INCLUDE applies] [!INCLUDE fabric] [!INCLUDE azure-data-explorer]
Display the optional table restricted view access policy. When this policy is enabled for a table, data in the table can only be queried by principals who have an UnrestrictedViewer role in the database. Deleting a policy is similar to disabling a policy.
You must have at least Database User, Database Viewer, or Database Monitor permissions to run these commands. For more information, see role-based access control.
Display the policy for a table:
.show table TableName policy restricted_view_access
Display the policy for all tables:
.show table * policy restricted_view_access
[!INCLUDE syntax-conventions-note]
| Name | Type | Required | Description |
|---|---|---|---|
| TableName | string |
✔️ | The name of the table for which to show the policy details. |
Returns a JSON representation of the policy.
Display the policy for a table:
.show table Table1 policy restricted_view_accessDisplay the policies for all tables:
.show table * policy restricted_view_access