Skip to main content
The information_schema.object_default_privileges view provides information about default privileges that are automatically applied to future objects created by specific roles. To access this information, you must have one of the following:
  • MANAGE GRANTS privilege
  • Be assigned with the default privileges shown in the view
  • Be an account administrator

Columns

Example

The following example shows how to query default privileges for a specific role:
Returns:

Usage notes

  • Default privileges apply to objects created after the ALTER DEFAULT PRIVILEGES command is executed. Existing objects are not affected.
  • Defaults are account-wide and apply to future schemas when databases (and their schemas) are created.