GRANT Database Principal Permissions
GRANT permissions on database principal
What changes
- Input
- principal and securable names
- Output or change
- permission metadata
Syntax at a glance
GRANT permission [ ,...n ] ON { [ USER :: database_user ] | [ ROLE :: database_role ] | [ APPLICATION ROLE :: application_role ] } TO <database_principal> [ ,...n ] [ WITH GRANT OPTION ] [ AS <database_principal> ]
Work example
An identity manager needs a limited permission on a database user or role.
Check the principal's identity duties and separate membership management from permission administration.
Check your work The test manager can perform the named principal operation and no unrelated access change.
Open Microsoft Learn for full syntax, permissions, and details for your version.