Avatar of Dale Fye
Dale Fye
Flag for United States of America asked on

Is there a system stored procedure for adding a user to a SQL Server object?

I'm looking for a quick way to give a particular login permissions (Insert, Update, Delete, and Select) to objects as I add them to my database.

Is there a system stored procedure for this or does someone have an example?
Microsoft SQL Server

Avatar of undefined
Last Comment
Dale Fye

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
Anders Ebro (Microsoft MVP)

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Dale Fye

ASKER
Anders, I'm going to be using an AD group as a login, so everyone that needs access to the db is already in that group.

Thanks, that is exactly what I needed.




I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck