Applies to: check marked yes Databricks SQL check marked yes Databricks Runtime

Displays all privileges (inherited, denied, and granted) that affect the securable object.

To run this command you must be either:

  • A workspace administrator or the owner of the object.

  • The user specified in principal.

Use SHOW GRANTS TO RECIPIENT to list which shares a recipient has access to.


SHOW GRANTS [ principal ] ON securable_object

You can also use GRANT as an alternative for GRANTS.


  • principal

    An optional user or group for which to show the privileges granted or denied. If not specified SHOW will return privileges for all principals who have privileges on the object. You must enclose users, service principals, and group names with special characters in backticks ( ` ` ).

  • securable_object

    The object whose privileges to show.


> SHOW GRANTS `` ON SCHEMA my_schema;
  principal     actionType objectType objectKey
  ------------- ---------- ---------- --------- USE        DATABASE   my_schema

> SHOW GRANTS ON SHARE some_share;
  recipient actionType objectType objectKey
  --------- ---------- ---------- ---------
  A_Corp    SELECT     SELECT