I would like to use integrated security with my internal application which is all on a domain. Unfortunately, I've never been able to get this to work well. I would like to assign an entire Exchange (Active Directory) Group a role in SQL Server for read/write access to certain tables. That way I wouldn't have to create an operator whenever someone is hired or delete an operator whenever someone is fired. Is this possible? What steps would I take to do this?
SQL Server 2008 – How to Assign Active Directory Group Security Access
active-directoryroleSecuritysql serversql-server-2008
Related Question
- Sql-server – Will SYSTEM_USER return the unique user id for users authenticated by Active Directory
- SQL Server – SysAdmin Role and Active Directory Groups
- Jdbc connection string ORACLE , integrated security
- SQL Server – How to Bulk Add Users from Active Directory
- Sql-server – Active Directory authentication with SQL Server on Linux containers
Best Answer
Sample script
sp_addrolemember
is deprecated starting with SQL Server 2012, whereALTER ROLE
should be used instead.