REVOKE Database Principal Permissions
REVOKE permissions on database principal
What changes
- Input
- principal and securable names
- Output or change
- permission metadata
Syntax at a glance
REVOKE [ GRANT OPTION FOR ] permission [ ,...n ] ON { [ USER :: database_user ] | [ ROLE :: database_role ] | [ APPLICATION ROLE :: application_role ] } { FROM | TO } <database_principal> [ ,...n ] [ CASCADE ] [ AS <database_principal> ]
Work example
A principal manager no longer needs a direct permission on one user or role.
Check ownership and membership duties before removing the management permission.
Check your work The manager loses the named principal operation and retains unrelated assigned duties.
Open Microsoft Learn for full syntax, permissions, and details for your version.