Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Database & SysAdmin
  3. Database
  4. create user account

create user account

Scheduled Pinned Locked Moved Database
databasequestionsysadminxmlhelp
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    Danzy83
    wrote on last edited by
    #1

    Hi everyone! How do I grant a server role permission to create users? I previously added database administrators to the 'sysadmin' server role and they were able to create users. I also changed the schema of my tables but now the schema for the 'sysadmin' role cannot be changed from 'dbo' to the one I created. One way to let them access tables is to prefix my tables with the schema name but there are lots and lots of code to do this. I moved the administrators to the 'securityadmin' server role and they are able to use tables without prefixing table names with the schema name. But now they are only able to create logins but cannot create users as an error is reported that the user does not have permission to do it. I would like to know how I can grant the 'securityadmin' role permission to create users so that I will not have to prefix my table names with the schema name if they should remain in the 'sysadmin' role as editing the code at this point for this will likely cause problems. Thanks in advance.

    M 1 Reply Last reply
    0
    • D Danzy83

      Hi everyone! How do I grant a server role permission to create users? I previously added database administrators to the 'sysadmin' server role and they were able to create users. I also changed the schema of my tables but now the schema for the 'sysadmin' role cannot be changed from 'dbo' to the one I created. One way to let them access tables is to prefix my tables with the schema name but there are lots and lots of code to do this. I moved the administrators to the 'securityadmin' server role and they are able to use tables without prefixing table names with the schema name. But now they are only able to create logins but cannot create users as an error is reported that the user does not have permission to do it. I would like to know how I can grant the 'securityadmin' role permission to create users so that I will not have to prefix my table names with the schema name if they should remain in the 'sysadmin' role as editing the code at this point for this will likely cause problems. Thanks in advance.

      M Offline
      M Offline
      Mycroft Holmes
      wrote on last edited by
      #2

      The type of the database (and the version) is essential when asking this level of information as the security functionality varies between database systems.

      Never underestimate the power of human stupidity RAH

      D 1 Reply Last reply
      0
      • M Mycroft Holmes

        The type of the database (and the version) is essential when asking this level of information as the security functionality varies between database systems.

        Never underestimate the power of human stupidity RAH

        D Offline
        D Offline
        Danzy83
        wrote on last edited by
        #3

        I'm using SQL Server 2005, Stanndard Edition. I've googled for long and still not getting any solution.

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups