Replication Server logs in as the maintenance user specified in create connection for the database. The gateway can log in to the data server with the same login name, or it can use another login name. The only requirements are that the login name must have the permissions needed to modify the replicate data.