.show table policy row_level_security command

Applies to: ✅ Microsoft FabricAzure 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

Learn more about syntax conventions.

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