Skip to content

Latest commit

 

History

History
40 lines (26 loc) · 1.55 KB

File metadata and controls

40 lines (26 loc) · 1.55 KB
title description ms.reviewer ms.topic ms.date
.show table policy row_level_security command
Learn how to use the `.show table policy row_level_security` command to display the table's row level security policy.
yonil
reference
08/11/2024

.show table policy row_level_security command

[!INCLUDE applies] [!INCLUDE fabric] [!INCLUDE azure-data-explorer]

Display the table's row_level_security policy. The Row Level Security simplifies the design and coding of security. It lets you apply restrictions on data row access in your application. For example, limit user access to rows relevant to their department, or restrict customer access to only the data relevant to their company.

Permissions

You must have at least Database User, Database Viewer, or Database Monitor permissions to run this command. For more information, see role-based access control.

Syntax

.show table TableName policy row_level_security

[!INCLUDE syntax-conventions-note]

Parameters

Name Type Required Description
TableName string ✔️ The name of the table for which to show the policy details.

Returns

Returns a JSON representation of the policy.

Example

Display the policy at the table level:

.show table MyTable policy row_level_security