Add Server Role to a Windows User in SQL Server

Bandi
Posted by Bandi under Sql Server category on | Points: 40 | Views : 202
To add SYSADMIN server role to an user, use the below code


EXEC sp_addsrvrolemember 'DomainName\UserName', 'sysadmin';

Comments or Responses

Login to post response