GRANT Assembly Permissions
GRANT permissions on assembly
What changes
- Input
- principal and securable names
- Output or change
- permission metadata
Syntax at a glance
GRANT { permission [ ,...n ] } ON ASSEMBLY :: assembly_name TO database_principal [ ,...n ] [ WITH GRANT OPTION ] [ AS granting_principal ]
Work example
A database principal needs a permission on one approved assembly.
Check the assembly signer, permission set, owner, and exact runtime caller.
Check your work The caller can use the required assembly operation and cannot administer unrelated assemblies.
Open Microsoft Learn for full syntax, permissions, and details for your version.