Results 1 to 4 of 4
  1. #1
    Join Date
    Oct 2013
    Posts
    2

    Unanswered: Urgent!how to assign sql logins to a group?

    I have created a program that allow the user to register account as new user to sql. I do not want everyone use the same account (default sa).
    Now i want to group those users into one group which easy for management.

    But I cant find way to create new login group.

    I search over net, they said need to done under computer management--local user and group, but my computer do not have local user and group..

    anyone can help..?

    if can done it programmatically, it will be the best! using c#
    Attached Thumbnails Attached Thumbnails Untitled.jpg  

  2. #2
    Join Date
    Jan 2007
    Location
    UK
    Posts
    11,434
    Provided Answers: 10
    Moved to SQL Server topic
    George
    Home | Blog

  3. #3
    Join Date
    Jan 2007
    Location
    UK
    Posts
    11,434
    Provided Answers: 10
    Create a new login in SQL Server: CREATE LOGIN (Transact-SQL)
    George
    Home | Blog

  4. #4
    Join Date
    Nov 2004
    Location
    on the wrong server
    Posts
    8,835
    Provided Answers: 6
    This one two if I am understanding your requirement correctly...

    CREATE ROLE (Transact-SQL)
    “If one brings so much courage to this world the world has to kill them or break them, so of course it kills them. The world breaks every one and afterward many are strong at the broken places. But those that will not break it kills. It kills the very good and the very gentle and the very brave impartially. If you are none of these you can be sure it will kill you too but there will be no special hurry.” Earnest Hemingway, A Farewell To Arms.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •