DENY System Object Permissions
DENY permissions on system object
What changes
- Input
- principal and securable names
- Output or change
- permission metadata
Syntax at a glance
DENY { SELECT | EXECUTE } ON [ sys. ] system_object TO principal
Work example
A principal must be blocked from a permission on a system object.
Check whether an application depends on the system object and avoid replacing broad server controls.
Check your work The test principal is blocked from the chosen operation without losing unrelated system access.
Open Microsoft Learn for full syntax, permissions, and details for your version.