x
login about faq Site discussion (meta-askssc)

not possible to add a group to a database role?

For a Sharepoint 2010 database role, I would like to add an AD group as a role member. However, in SSMS I can olny select users (both SQL and AD) and database roles (when selecting object types). Am I missing something? Is there another way to add an AD group to a databaserole?

more ▼

asked Jan 26 '12 at 05:10 AM in Default

Wilfred van Dijk gravatar image

Wilfred van Dijk
549 13 18 20

Have you tried adding the group as a login, then adding to the role?

Jan 26 '12 at 05:20 AM sp_lock

@Jonlee Lockwood: +1.

Jan 26 '12 at 05:59 AM JohnM

@JohnM I guess you forgot to give +1. I guess I did that before you and it still reads 1 :(

Jan 26 '12 at 06:41 AM Usman Butt

@Usman Butt: My apologies. I think that I failed to do that. Is there a way that I can go back and add points?

Jan 26 '12 at 06:48 AM JohnM

Disregard. I think that I figured it out. Still a newbie around here. =) Sorry for any confusion.

Jan 26 '12 at 06:57 AM JohnM
(comments are locked)
10|1200 characters needed characters left

1 answer: sort voted first

The users referenced is referring to the users of the database, not logins on the server. Add the domain group as a login on the sql server and then map the login to the database & corresponding role. Should work just fine!

more ▼

answered Jan 26 '12 at 05:59 AM

JohnM gravatar image

JohnM
4.5k 1 3 7

Yes, this is working!

Jan 26 '12 at 06:35 AM Wilfred van Dijk
(comments are locked)
10|1200 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments



Facebook logo Follow Ask SSC on Facebook
Find Ask SSC on Google+
linkedin logo Find us on LinkedIn

Topics:

x145
x119
x6

asked: Jan 26 '12 at 05:10 AM

Seen: 635 times

Last Updated: Jan 26 '12 at 05:50 AM

Copyright © 2002-2012 Simple Talk Publishing. All Rights Reserved. If you have any queries, please contact the site administrators.
Ask SQL Server Central is a community service provided by Red Gate.