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, 2012 at 05:10 AM in Default

avatar image

Wilfred van Dijk
3.4k 28 39 49

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

Jan 26, 2012 at 05:20 AM sp_lock

@Jonlee Lockwood: +1.

Jan 26, 2012 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, 2012 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, 2012 at 06:48 AM JohnM

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

Jan 26, 2012 at 06:57 AM JohnM
show all comments (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, 2012 at 05:59 AM

avatar image

14.2k 3 7 14

Yes, this is working!

Jan 26, 2012 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



Answers and Comments

SQL Server Central

Need long-form SQL discussion? SQLserverCentral.com is the place.



asked: Jan 26, 2012 at 05:10 AM

Seen: 1333 times

Last Updated: Jan 26, 2012 at 05:50 AM

Copyright 2017 Redgate Software. Privacy Policy