GRANT Endpoint Permissions
GRANT permissions on endpoint
What changes
- Input
- principal and securable names
- Output or change
- permission metadata
Syntax at a glance
GRANT permission [ ,...n ] ON ENDPOINT :: endpoint_name TO < server_principal > [ ,...n ] [ WITH GRANT OPTION ] [ AS SQL_Server_login ]
Work example
A login needs one endpoint permission for a named SQL Server feature.
Check protocol, endpoint authentication, peer list, and server role membership.
Check your work The approved feature connects and the login gains no unrelated endpoint access.
Open Microsoft Learn for full syntax, permissions, and details for your version.