Click to Rate and Give Feedback
MSDN
MSDN Library
SQL Server
SQL Server 2005
 How to: Manage Logins in the Public...
Community Content
In this section
Statistics Annotations (0)
Collapse All/Expand All Collapse All
SQL Server 2005 Books Online (November 2008)
How to: Manage Logins in the Publication Access List (Replication Transact-SQL Programming)

Access to a publication is controlled by the publication access list (PAL). Logins and groups can be added and removed from the PAL, and information about PAL members can be viewed programmatically by using replication stored procedures.

ms147297.note(en-US,SQL.90).gifNote:
You must associate the SQL Server login with a database user in the publication database before you add the login to the PAL.

  1. At the Publisher on the publication database, execute sp_help_publication_access. For @publication, specify the publication name. This displays information about the groups and logins in the PAL.

  1. At the Publisher on the publication database, execute sp_grant_publication_access. For @publication, specify the publication name; and for @login, specify the name of the login or group that is being added.

  1. At the Publisher on the publication database, execute sp_revoke_publication_access. For @publication, specify the publication name; and for @login, specify the name of the login or group that is being removed.

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks | Privacy Statement
Page view tracker