GRANT Type Permissions
GRANT permissions on type
What changes
- Input
- principal and securable names
- Output or change
- permission metadata
Syntax at a glance
GRANT permission [ ,...n ] ON TYPE :: [ schema_name . ] type_name TO <database_principal> [ ,...n ] [ WITH GRANT OPTION ] [ AS <database_principal> ]
Work example
A caller needs permission to use one database type in a procedure or table-valued parameter.
Check the type definition, caller, schema, and procedure permission chain.
Check your work The intended caller binds the type and unrelated users cannot use it.
Open Microsoft Learn for full syntax, permissions, and details for your version.