how to create user group logins in SQL server 2005

  • I just want to create a group login then all the users i will create i'l just add them to the group login i created.

    can you please help how to create group login and how to input the users login in the group login created? thanx for advance

  • Generally speaking this is accomplished with an Active Directory Domain Users Group. You add the AD Group to SQL Server as a Login, and then grant the correct rights to the AD Group Login in SQL. Then to add people to SQL with the Group rights, you simply add them to the Group in Active Directory. You also get the added benefits of the AD GPO's being enforced for the account so you don't have to worry about password expiration or complexity rules since this is enforced by AD.

    Jonathan Kehayias | Principal Consultant | MCM: SQL Server 2008
    My Blog | Twitter | MVP Profile
    Training | Consulting | Become a SQLskills Insider
    Troubleshooting SQL Server: A Guide for Accidental DBAs[/url]

  • Hi,

    I'm using SQL Server 2005 and when i right-click on Security, I see the following options:

    User, Database role, Application role, Schema.

    Which is the correct option for me to choose when creating a new Group?

    Thanks.

  • you choose New Login, and then use the find object to find a windows group....once you are in there, it becomes more clear:

    Lowell


    --help us help you! If you post a question, make sure you include a CREATE TABLE... statement and INSERT INTO... statement into that table to give the volunteers here representative data. with your description of the problem, we can provide a tested, verifiable solution to your question! asking the question the right way gets you a tested answer the fastest way possible!

  • Hi there,

    Thanks very much, and the screen shots are very useful? I also got abit confused in where / how I create a new login, as when I right-clicked on Security I was displayed the options as mentioned previously, nothing as straight forward as if to say 'new Login'...but I will play about with the system and let u know if I still can't create a group!

    Thanks,

Viewing 5 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic. Login to reply