REVOKE Type Permissions
REVOKE permissions on type
What changes
- Input
- principal and securable names
- Output or change
- permission metadata
Syntax at a glance
REVOKE [ GRANT OPTION FOR ] permission [ ,...n ] ON TYPE :: [ schema_name ]. type_name { FROM | TO } <database_principal> [ ,...n ] [ CASCADE ] [ AS <database_principal> ]
Work example
A caller no longer needs a direct permission on one database type.
Check procedures and table-valued parameters that still bind the type.
Check your work The direct permission is removed and approved callers retain access through their intended role.
Open Microsoft Learn for full syntax, permissions, and details for your version.