sys.sp_revoke_publication_access

general
#stored-procedure

Description

Removes the login from a publications access list. This stored procedure is executed at the Publisher on the publication database.

Syntax

sp_revoke_publication_access
[ @publication = ]
N
'publication'
, [ @login = ]
N
'login'
[ , [ @publisher = ]
N
'publisher'
]
[ ; ]

Permissions

is used in snapshot, transactional, and merge replication. can be called repeatedly. Only members of the fixed server role or the fixed database role can execute. sp_grant_publication_access (Transact-SQL) sp_help_publication_access (Transact-SQL) Secure the Publisher System stored procedures (Transact-SQL)