如果我不是sysadmin角色的成员,我可以授予用户许可管理SQL Server代理作业吗? 我一直在努力授予SQL Server代理作业的用户许可。由于使他们成为Sysadmin角色的成员,因此我尝试将职位所有者更改为此用户,然后我...

问题描述 投票:0回答:1

from

https://learn.microsoft.com/en-us/ssms/agent/configure-a-user-to-create-and-create-and-manage-sql-server-agent-jobs?view = sql-server-ver16

sql-server security permissions database-administration sql-server-agent
1个回答
0
投票

使用SQL Server ManagementStudio 将SQL登录或MSDB角色添加到SQL Server代理固定数据库角色

1. In Object Explorer, expand a server. 2. Expand Security, and then expand Logins. 3. Right-click the login you wish to add to a SQL Server Agent fixed database role, and select Properties. 4. On the User Mapping page of the Login Properties dialog box, select the row containing msdb. 5. Under Database role membership for: msdb, check the appropriate SQL Server Agent fixed database role.

配置代理帐户以创建和管理SQL Server代理作业步骤

1. In Object Explorer, expand a server. 2. Expand SQL Server Agent. 3. Right-click Proxies and select New Proxy. 4. On the General page of the New Proxy Account dialog, specify the proxy name, credential name, and description for the new proxy. Note that you must create a credential first before creating a SQL Server Agent proxy. For more information about creating a credential, see How to: Create a Credential and CREATE CREDENTIAL (Transact-SQL). 5. Check the appropriate subsystems for this proxy. Operating system (CmdExec) SQL Server Analysis Services Query SQL Server Analysis Services Command SQL Server Integration Services Package PowerShell 6. On the Principals page, add or remove logins or roles to grant or remove access to the proxy account.

	

最新问题
© www.soinside.com 2019 - 2025. All rights reserved.