T-SQL Add User To Role

SQL below to add a role to a user.

use MyDatabase;
go

sp_addrolemember 'db_owner', 'domainmyuser' ;
go

Posted in Databases, Databases with : SQL Server