sp_changeqreader_agent (Transact-SQL)
SQL Server 2012
Changes security properties of a Queue Reader agent. This stored procedure is executed at the Distributor on the distribution database or at the Publisher on the publication database.
sp_changeqreader_agent is used in transactional replication.
sp_changeqreader_agent is used to change the Windows account under which a Queue Reader agent runs. You can change the password of an existing Windows login or supply a new Windows login and password.
After changing an agent login or password, you must stop and restart the agent before the change takes effect.