The user ID that the Replication Agent instance uses to log in to Microsoft SQL Server must have access to the primary database.
Replication Agent for Microsoft SQL Server creates database objects to assist with replication tasks in the primary database. For the list of the required permissions that are automatically granted, see the Replication Agent Primary Database Guide.