GRANT
GRANT permissions
What changes
- Input
- principal and securable names
- Output or change
- permission metadata
Syntax at a glance
GRANT { ALL [ PRIVILEGES ] } | permission [ ( column [ , ...n ] ) ] [ , ...n ] [ ON [ class :: ] securable ] TO principal [ , ...n ] [ WITH GRANT OPTION ] [ AS principal ]
Work example
A principal needs one permission on an explicitly named securable.
Write down principal, permission, scope, grantor, and grant option before reviewing a lab access change.
Check your work The test principal can perform the requested action and no broader permission is added.
Open Microsoft Learn for full syntax, permissions, and details for your version.